Mark all options as optional in the type definitions

pull/2748/head
Tim Perry 6 years ago 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

@ -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 {

Loading…
Cancel
Save