From 14b854ad4f2245c4e441ba9e209d77cf620a2694 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 10 Dec 2021 19:13:44 +0100 Subject: [PATCH] make tsconfig file to build declaration files --- tsconfig-declaration.json | 14 ++++++++++++++ tsconfig.json | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tsconfig-declaration.json diff --git a/tsconfig-declaration.json b/tsconfig-declaration.json new file mode 100644 index 00000000..8ba13448 --- /dev/null +++ b/tsconfig-declaration.json @@ -0,0 +1,14 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "noEmit": false, + "emitDeclarationOnly": true, + "declaration": true, + "outDir": "dist/types", + "rootDir": "src" + }, + "exclude": [ + "src/sdk/paths/*" + ], + "include": ["src/**/*"], +} diff --git a/tsconfig.json b/tsconfig.json index e3fae938..f46cc7eb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,12 @@ { "compilerOptions": { "strictNullChecks": true, + "noImplicitAny": false, "noEmit": true, "target": "ES2020", - "moduleResolution": "node" + "module": "ES2020", + "moduleResolution": "node", + "esModuleInterop": true }, "exclude": [ "src/sdk/paths/*"