Merge pull request #53 from pimterry/patch-1

Mark all options as optional in the type definitions
This commit is contained in:
Alexandru Dima 2018-11-23 12:47:02 +01:00 committed by GitHub
commit 9941fe08ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
index.d.ts vendored
View file

@ -5,18 +5,18 @@ interface IMonacoEditorWebpackPluginOpts {
* custom output path for worker scripts, relative to the main webpack `output.path`.
* Defaults to ''.
*/
output: string;
output?: string;
/**
* Include only a subset of the languages supported.
*/
languages: string[];
languages?: string[];
/**
* Include only a subset of the editor features.
* Use e.g. '!contextmenu' to exclude a certain feature.
*/
features: string[];
features?: string[];
}
declare class MonacoEditorWebpackPlugin extends Plugin {