From 1203d90328ff737a1c411b90210f66b0bff0e00e Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Mon, 20 Apr 2020 14:53:17 +0200 Subject: [PATCH] Re-enable noImplicitAny and explictly "any-ize" plugins This is still kind of terrible, but better than slapping it across the entire codebase. --- src/wavesurfer-plugins.d.ts | 3 +++ tsconfig.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/wavesurfer-plugins.d.ts diff --git a/src/wavesurfer-plugins.d.ts b/src/wavesurfer-plugins.d.ts new file mode 100644 index 0000000..8a5fe7f --- /dev/null +++ b/src/wavesurfer-plugins.d.ts @@ -0,0 +1,3 @@ +declare module "wavesurfer.js/dist/plugin/wavesurfer.cursor.min.js"; + +declare module "wavesurfer.js/dist/plugin/wavesurfer.regions.min.js"; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 4dc65a1..8ebed57 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,6 @@ "isolatedModules": true, "noEmit": true, "jsx": "react", - "noImplicitAny": false }, "include": [ "src"