mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Merge pull request #53 from pimterry/patch-1
Mark all options as optional in the type definitions
This commit is contained in:
commit
9941fe08ed
1 changed files with 3 additions and 3 deletions
6
index.d.ts
vendored
6
index.d.ts
vendored
|
|
@ -5,18 +5,18 @@ 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[];
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class MonacoEditorWebpackPlugin extends Plugin {
|
declare class MonacoEditorWebpackPlugin extends Plugin {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue