From 4d7cf1347f64dd48fb3368a76d9931c6feafeadc Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Mon, 7 Feb 2022 00:29:17 +0000 Subject: [PATCH] Update 'tsconfig.json' --- tsconfig.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index c38d8d8..eae9b7b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,13 +3,17 @@ /* Visit https://aka.ms/tsconfig.json to read more about this file */ "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ "module": "commonjs", /* Specify what module code is generated. */ - "rootDir": "src", /* Specify the root folder within your source files. */ + "rootDir": "src", /* Specify the root folder within your source files. */ "sourceMap": true, /* Create source map files for emitted JavaScript files. */ - "outDir": "dist", /* Specify an output folder for all emitted files. */ + "outDir": "dist", /* Specify an output folder for all emitted files. */ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ "strict": true, /* Enable all strict type-checking options. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ + "skipLibCheck": true, /* Skip type checking all .d.ts files. */ + "declaration": true }, - "exclude": ["tests"] + "exclude": [ + "tests", + "dist" + ] }