Skip to content

Commit d806e10

Browse files
ark120202Perryvw
authored andcommitted
Update tsconfig example (#498)
* Add shared tsconfig * Remove shared tsconfig and change example instead
1 parent 85dbd95 commit d806e10

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,16 @@ Changelog can be found in [CHANGELOG.md](https://github.com/TypeScriptToLua/Type
3838
`tstl -p path/to/tsconfig.json --watch`
3939

4040
**Example tsconfig.json**
41-
```
41+
```json
4242
{
4343
"compilerOptions": {
44-
"noImplicitAny" : true,
45-
"noImplicitThis" : true,
46-
"alwaysStrict" : true,
47-
"strictNullChecks": true
44+
"target": "esnext",
45+
"lib": ["es2015", "es2016", "es2017", "es2018", "esnext"],
46+
"strict": true
4847
},
49-
"luaTarget": "JIT"
48+
"tstl": {
49+
"luaTarget": "JIT"
50+
}
5051
}
5152
```
5253

0 commit comments

Comments
 (0)