From 4982931457984b3055af1534ae6d5c9bfeb22a5e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 9 Oct 2017 08:27:37 +0200 Subject: [PATCH] Add jquery and materialize-css in tsconfig. --- tsconfig.json | 6 +++++- webpack.config.js | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 99f35dc..0c7c57d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,10 @@ "experimentalDecorators": true, "lib": [ "es2015", "dom" ], "noImplicitAny": false, - "suppressImplicitAnyIndexErrors": true + "suppressImplicitAnyIndexErrors": true, + "types": [ + "jquery", + "materialize-css" + ] } } diff --git a/webpack.config.js b/webpack.config.js index 53e6061..0d2bff3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -127,7 +127,6 @@ module.exports = { ] }), new webpack.ProvidePlugin({ - Materialize: "materialize-css", $: "jquery", jQuery: "jquery", "window.jQuery": "jquery"