From 96e2d8014257f1cffc6f13dfc02d2df4b49bb4f8 Mon Sep 17 00:00:00 2001 From: arthurfiorette Date: Tue, 4 Jan 2022 15:15:56 -0300 Subject: [PATCH] chore: fixed default tsconfig.json --- .vscode/launch.json | 3 ++- tsconfig.json | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 53bf751..437a0e0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -15,7 +15,8 @@ "${workspaceRoot}/node_modules/.bin/jest", "--runInBand", - "--watch" + "--watch", + "--coverage" ], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", diff --git a/tsconfig.json b/tsconfig.json index 88595b9..7f9e163 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -49,8 +49,8 @@ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */ "outDir": "./dist" /* Specify an output folder for all emitted files. */, // "removeComments": true, /* Disable emitting comments. */ - "noEmit": true, /* Disable emitting files from a compilation. */ - // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ + "noEmit": true, /* Disable emitting files from a compilation. */ + // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ "importsNotUsedAsValues": "error" /* Specify emit/checking behavior for imports that are only used for types */, "downlevelIteration": true /* Emit more compliant, but verbose and less performant JavaScript for iteration. */, // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ @@ -96,5 +96,6 @@ /* Completeness */ "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */ - } + }, + "include": ["src", "test", "examples"] }