Skip to content

Commit

Permalink
Merge pull request microsoft#51 from kube/webpack-plugin-type-compat
Browse files Browse the repository at this point in the history
Webpack Plugin Type Compatibility. Solves microsoft#49
  • Loading branch information
alexdima authored Nov 23, 2018
2 parents d558cab + 5f51fd2 commit 9d74978
Show file tree
Hide file tree
Showing 3 changed files with 757 additions and 718 deletions.
6 changes: 4 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +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 ''.
Expand All @@ -18,7 +19,8 @@ export interface IMonacoEditorWebpackPluginOpts {
features: string[];
}

export default class MonacoEditorWebpackPlugin {
declare class MonacoEditorWebpackPlugin extends Plugin {
constructor(opts?: IMonacoEditorWebpackPluginOpts)
}

export = MonacoEditorWebpackPlugin
Loading

0 comments on commit 9d74978

Please sign in to comment.