Mark all options as optional in the type definitions

This commit is contained in:
Tim Perry 2018-11-22 14:23:41 +01:00 committed by GitHub
parent d558cab174
commit 71728e7e92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
index.d.ts vendored
View file

@ -4,18 +4,18 @@ export 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[];
}
export default class MonacoEditorWebpackPlugin {