From d0957bd1e011ca6e2ef7047ec5b84ed86c35cdc4 Mon Sep 17 00:00:00 2001 From: "tom@caspertech.co.uk" Date: Tue, 7 Feb 2023 17:25:06 +0000 Subject: [PATCH] Add Typescript declarations --- tsconfig.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index adabf76..af3148c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "module": "commonjs", "moduleResolution": "node", "allowSyntheticDefaultImports": true, - "allowJs": true, + "allowJs": false, "importHelpers": true, "jsx": "react", "alwaysStrict": true, @@ -16,7 +16,9 @@ "noUnusedParameters": true, "noImplicitAny": false, "noImplicitThis": false, - "strictNullChecks": false + "strictNullChecks": false, + "declaration": true, + "declarationMap": true }, "include": [ "src/**/*",