Skip to content

Commit 14d58a2

Browse files
Ombuwebrigor789
andauthored
docs: tsconfig.json (#9)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
1 parent cdfd2bf commit 14d58a2

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: tsconfig.json
3+
---
4+
5+
Projects using TypeScript use the `tsconfig.json` to control the TypeScript compilation. Our templates ship with curated default values, however if you need to, you can fine-tune the [compiler options](https://www.typescriptlang.org/docs/handbook/compiler-options.html).
6+
7+
For more information see the official [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html).
8+
9+
```json
10+
{
11+
"compilerOptions": {
12+
"module": "esnext",
13+
"target": "es2017",
14+
"moduleResolution": "node",
15+
"experimentalDecorators": true,
16+
"emitDecoratorMetadata": true,
17+
"noEmitHelpers": true,
18+
"noEmitOnError": true,
19+
"skipLibCheck": true,
20+
"lib": ["es2017", "dom"],
21+
"baseUrl": ".",
22+
"paths": {
23+
"~/*": ["src/*"],
24+
"@/*": ["src/*"]
25+
}
26+
},
27+
"include": ["src/**/*", "activity.android.ts", "application.android.ts"],
28+
"files": ["./references.d.ts"],
29+
"exclude": ["node_modules", "platforms"]
30+
}
31+
32+
```

content/sidebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default [
9292
// },
9393
// ],
9494
// },
95-
// { text: 'tsconfig.json', link: '//#', icon: 'file' },
95+
{ text: 'tsconfig.json', link: '/project-structure/tsconfig-json', icon: 'file' },
9696
// { text: 'references.d.ts', link: '//#', icon: 'file' },
9797
],
9898
},

0 commit comments

Comments
 (0)