Skip to content

Commit 2910552

Browse files
authored
upgrade tstl (#67)
1 parent 550769f commit 2910552

File tree

3 files changed

+44
-134
lines changed

3 files changed

+44
-134
lines changed

package-lock.json

Lines changed: 42 additions & 133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"react-json-tree": "^0.15.0",
3636
"react-monaco-editor": "^0.43.0",
3737
"stream-browserify": "^3.0.0",
38-
"typescript-to-lua": "^0.41.0"
38+
"typescript-to-lua": "0.42.0"
3939
},
4040
"devDependencies": {
4141
"@ark120202/typescript-config": "^2.2.0",

src/pages/play/ts.worker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ require("path").format = (x: any) => x;
1010

1111
const libContext = require.context(`raw-loader!typescript-to-lua/dist/lualib`, true, /(.+)(?<!lualib_bundle)\.lua$/);
1212
const emitHost: tstl.EmitHost = {
13+
directoryExists: () => false,
1314
fileExists: (fileName) => ts.sys.fileExists(fileName),
1415
getCurrentDirectory: () => "",
1516
readFile: (fileName: string) => {

0 commit comments

Comments
 (0)