monaco-editor/index.d.ts
Alexandru Dima 9941fe08ed
Merge pull request #53 from pimterry/patch-1
Mark all options as optional in the type definitions
2018-11-23 12:47:02 +01:00

26 lines
636 B
TypeScript

import { Plugin } from 'webpack'
interface IMonacoEditorWebpackPluginOpts {
/**
* custom output path for worker scripts, relative to the main webpack `output.path`.
* Defaults to ''.
*/
output?: string;
/**
* Include only a subset of the languages supported.
*/
languages?: string[];
/**
* Include only a subset of the editor features.
* Use e.g. '!contextmenu' to exclude a certain feature.
*/
features?: string[];
}
declare class MonacoEditorWebpackPlugin extends Plugin {
constructor(opts?: IMonacoEditorWebpackPluginOpts)
}
export = MonacoEditorWebpackPlugin