From 2a88406fe7ef5b28fe7521a73c70ed3d056eb6bb Mon Sep 17 00:00:00 2001 From: Doug Turcotte Date: Mon, 12 Nov 2018 12:39:42 -0500 Subject: [PATCH] Bare minimum module declaration for compatibility with TypeScript webpack configs with noImplicitAny --- index.d.ts | 1 + package.json | 1 + 2 files changed, 2 insertions(+) create mode 100644 index.d.ts 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" },