Improve TypeScript config

This commit is contained in:
Cat /dev/Nulo 2022-11-25 22:09:17 -03:00
parent d20d8fc238
commit 93c919afa4
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,8 @@
"description": "",
"main": "index.js",
"scripts": {
"watch": "tsc --watch",
"start": "node src/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],

View file

@ -4,7 +4,7 @@
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Projects */
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
"incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */