mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Use CommonJS export
This commit is contained in:
parent
5ac536ca6e
commit
5f51fd24f3
1 changed files with 3 additions and 2 deletions
5
index.d.ts
vendored
5
index.d.ts
vendored
|
|
@ -1,6 +1,6 @@
|
|||
import { Plugin } from 'webpack'
|
||||
|
||||
export interface IMonacoEditorWebpackPluginOpts {
|
||||
interface IMonacoEditorWebpackPluginOpts {
|
||||
/**
|
||||
* custom output path for worker scripts, relative to the main webpack `output.path`.
|
||||
* Defaults to ''.
|
||||
|
|
@ -19,7 +19,8 @@ export interface IMonacoEditorWebpackPluginOpts {
|
|||
features: string[];
|
||||
}
|
||||
|
||||
export default class MonacoEditorWebpackPlugin extends Plugin {
|
||||
declare class MonacoEditorWebpackPlugin extends Plugin {
|
||||
constructor(opts?: IMonacoEditorWebpackPluginOpts)
|
||||
}
|
||||
|
||||
export = MonacoEditorWebpackPlugin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue