summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2018-12-09 23:15:37 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2018-12-09 23:15:37 -0800
commitcf0fc81113b1a47433739c8f892ecb4eb1cb5119 (patch)
tree4eb497a6c8d4ef238d2be3e8a3c963b12d4e3249
parent0d164c6311a56ef1ddf09727e69746d17571dcd4 (diff)
Use node types
-rw-r--r--tsconfig.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 2852f30..63473fa 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -44,9 +44,11 @@
} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */,
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
- // "types": [], /* Type declaration files to be included in compilation. */
+ "types": [
+ "node"
+ ] /* Type declaration files to be included in compilation. */,
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
- "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
+ "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
@@ -56,7 +58,7 @@
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
- // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
+ "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
},
"include": ["**/*"]