init
Change-Id: I62d8e17fdc3103133b9ddaff22c27ddd9ea9f6ac
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..cc211c6
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,33 @@
+{
+ "compilerOptions": {
+ "jsx": "preserve",
+
+ /* Language and Environment */
+ "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. */
+ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
+ "baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */
+ "paths": {
+ "common/*": [
+ "src/common/*"
+ ],
+ "@/*": [
+ "src/*"
+ ]
+ }, /* Specify a set of entries that re-map imports to additional lookup locations. */
+ "sourceMap": true,
+ "noImplicitReturns": true,
+ "importHelpers": true,
+ "noUnusedLocals": true,
+ "noFallthroughCasesInSwitch": true,
+ "noUnusedParameters": true,
+ "noEmit": true,
+ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
+ // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
+ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
+ /* Type Checking */
+ "strict": true, /* Enable all strict type-checking options. */
+ "skipLibCheck": true /* Skip type checking all .d.ts files. */
+ },
+}