-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
37 lines (37 loc) · 1.01 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"compilerOptions": {
"target": "ES6",
"lib": ["es6"],
"module": "commonjs",
"strict": true,
"baseUrl": ".",
"rootDir": "src",
"outDir": "lua",
"paths": {
// Path aliases
},
"plugins": [
{
// Removes "import"s and checks script side
"transform": "mtasa-lua-utils/transformer",
"after": false
}
],
"types": ["lua-types/5.1"],
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true
},
"tstl": {
// MTASA Lua Language version is 5.1
"luaTarget": "5.1",
// No "self" in global functions
"noImplicitSelf": true,
// Will not put 'require' into compiled files
"luaLibImport": "none",
// Provides debug.traceback function
"sourceMapTraceback": true
}
}