Skip to content

Commit 4b83485

Browse files
authored
Update tsconfig-schema (#1311)
1 parent c962837 commit 4b83485

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tsconfig-schema.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"default": "library",
2424
"enum": ["default", "library"]
2525
},
26+
"extension": {
27+
"description": "File extension for the resulting Lua files. Defaults to \".lua\"",
28+
"type": "string"
29+
},
2630
"lua51AllowTryCatchInAsyncAwait": {
2731
"description": "Disable the warning that try/catch is not allowed in async functions in Lua 5.1, in case you are using a patched 5.1 lua version that supports this.",
2832
"type": "boolean",
@@ -40,13 +44,13 @@
4044
"description": "Specifies how js standard features missing in lua are imported.",
4145
"type": "string",
4246
"default": "require",
43-
"enum": ["none", "always", "inline", "require"]
47+
"enum": ["none", "inline", "require"]
4448
},
4549
"luaTarget": {
4650
"description": "Specifies the Lua version you want to generate code for.",
4751
"type": "string",
4852
"default": "universal",
49-
"enum": ["5.1", "5.2", "5.3", "JIT"]
53+
"enum": ["universal", "5.1", "5.2", "5.3", "JIT"]
5054
},
5155
"noImplicitGlobalVariables": {
5256
"description": "Always declare all root-level variables as local, even if the file is not a module and they would be global in TypeScript.",
@@ -94,6 +98,10 @@
9498
}
9599
}
96100
}
101+
},
102+
"measurePerformance": {
103+
"description": "Measure and report performance of the tstl compiler.",
104+
"type": "boolean"
97105
}
98106
},
99107
"dependencies": {

0 commit comments

Comments
 (0)