mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-23 00:22:56 +01:00
Mark all options as optional in the type definitions
This commit is contained in:
parent
d558cab174
commit
71728e7e92
1 changed files with 3 additions and 3 deletions
6
index.d.ts
vendored
6
index.d.ts
vendored
|
|
@ -4,18 +4,18 @@ export interface IMonacoEditorWebpackPluginOpts {
|
||||||
* custom output path for worker scripts, relative to the main webpack `output.path`.
|
* custom output path for worker scripts, relative to the main webpack `output.path`.
|
||||||
* Defaults to ''.
|
* Defaults to ''.
|
||||||
*/
|
*/
|
||||||
output: string;
|
output?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Include only a subset of the languages supported.
|
* Include only a subset of the languages supported.
|
||||||
*/
|
*/
|
||||||
languages: string[];
|
languages?: string[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Include only a subset of the editor features.
|
* Include only a subset of the editor features.
|
||||||
* Use e.g. '!contextmenu' to exclude a certain feature.
|
* Use e.g. '!contextmenu' to exclude a certain feature.
|
||||||
*/
|
*/
|
||||||
features: string[];
|
features?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class MonacoEditorWebpackPlugin {
|
export default class MonacoEditorWebpackPlugin {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue