-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
31 lines (31 loc) · 955 Bytes
/
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
{
"$schema": "https://raw.githubusercontent.com/TypeScriptToLua/vscode-typescript-to-lua/master/tsconfig-schema.json",
"compilerOptions": {
"target": "ES6",
"lib": ["es6"],
"module": "CommonJS",
"rootDir": "src",
"outDir": "[lua]",
"strict": true,
"sourceMap": true,
"declaration": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"esModuleInterop": true,
"newLine": "LF",
"stripInternal": true,
"baseUrl": ".",
"types": ["lua-types/5.1"]
},
"tstl": {
// MTASA Lua Language version is 5.1
"luaTarget": "5.1",
// No "self" in global functions
"noImplicitSelf": true,
// Provides debug.traceback function
"sourceMapTraceback": true,
// Lualib should be always included in the resource
"luaLibImport": "always"
}
}