Skip to content

Commit 6e79372

Browse files
committed
Add lib to tsconfig and remove browser global name usage
1 parent f7ce488 commit 6e79372

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/LuaTransformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3912,7 +3912,7 @@ export class LuaTransformer {
39123912
}
39133913

39143914
default:
3915-
throw TSTLErrors.UnsupportedProperty("math", name, expression);
3915+
throw TSTLErrors.UnsupportedProperty("math", expressionName, expression);
39163916
}
39173917
}
39183918

test/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"paths": { "*": ["types/*"] },
55
"strict": true,
66
"target": "es2017",
7+
"lib": ["es2017"],
78
"types": ["node", "jest"],
89

910
"noEmit": true,

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"declaration": true,
77
"sourceMap": true,
88
"target": "es2017",
9+
"lib": ["es2017"],
910
"module": "commonjs",
1011
"stripInternal": true
1112
},

0 commit comments

Comments
 (0)