diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 00000000..38485943 --- /dev/null +++ b/index.d.ts @@ -0,0 +1 @@ +declare module 'monaco-editor-webpack-plugin'; diff --git a/package.json b/package.json index 90949ff4..e681c98b 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.5.4", "description": "A webpack plugin for the Monaco Editor", "main": "index.js", + "typings": "./index.d.ts", "scripts": { "test": "node ./node_modules/webpack/bin/webpack.js --config test/webpack.config.js" },