Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

Commit 07904ca

Browse files
author
Luciano Nooijen
committed
Added Typescript config
1 parent ff4b667 commit 07904ca

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

tsconfig.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"compilerOptions": {
3+
/* Basic Options */
4+
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
5+
"lib": ["es2015"],
6+
"module": "amd", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
7+
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
8+
"declaration": true, /* Generates corresponding '.d.ts' file. */
9+
"sourceMap": true, /* Generates corresponding '.map' file. */
10+
"outFile": "./dist/build.js", /* Concatenate and emit output to single file. */
11+
"outDir": "./build", /* Redirect output structure to the directory. */
12+
"rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
13+
14+
/* Strict Type-Checking Options */
15+
"strict": true, /* Enable all strict type-checking options. */
16+
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
17+
"strictNullChecks": true, /* Enable strict null checks. */
18+
"strictFunctionTypes": true, /* Enable strict checking of function types. */
19+
"strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
20+
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
21+
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
22+
23+
/* Module Resolution Options */
24+
// "types": [], /* Type declaration files to be included in compilation. */
25+
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
26+
27+
/* Experimental Options */
28+
"experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
29+
"emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
30+
}
31+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy