From 5f51fd24f3c7663c7919b4141f61e7605c970207 Mon Sep 17 00:00:00 2001 From: Chris Feijoo Date: Thu, 15 Nov 2018 15:39:03 +0100 Subject: [PATCH] Use CommonJS export --- index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index e3030599..48e36d2d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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