typescript-to-lua
Advanced tools
Comparing version 1.13.2 to 1.13.3
@@ -58,2 +58,3 @@ import { EmitHost } from "./transpilation"; | ||
NumberToString = "NumberToString", | ||
NumberToFixed = "NumberToFixed", | ||
ObjectAssign = "ObjectAssign", | ||
@@ -60,0 +61,0 @@ ObjectDefineProperty = "ObjectDefineProperty", |
@@ -63,2 +63,3 @@ "use strict"; | ||
LuaLibFeature["NumberToString"] = "NumberToString"; | ||
LuaLibFeature["NumberToFixed"] = "NumberToFixed"; | ||
LuaLibFeature["ObjectAssign"] = "ObjectAssign"; | ||
@@ -65,0 +66,0 @@ LuaLibFeature["ObjectDefineProperty"] = "ObjectDefineProperty"; |
@@ -351,2 +351,7 @@ { | ||
}, | ||
"NumberToFixed": { | ||
"exports": [ | ||
"__TS__NumberToFixed" | ||
] | ||
}, | ||
"ObjectAssign": { | ||
@@ -353,0 +358,0 @@ "exports": [ |
@@ -351,2 +351,7 @@ { | ||
}, | ||
"NumberToFixed": { | ||
"exports": [ | ||
"__TS__NumberToFixed" | ||
] | ||
}, | ||
"ObjectAssign": { | ||
@@ -353,0 +358,0 @@ "exports": [ |
@@ -18,2 +18,4 @@ "use strict"; | ||
: (0, lualib_1.transformLuaLibFunction)(context, lualib_1.LuaLibFeature.NumberToString, node, caller, ...params); | ||
case "toFixed": | ||
return (0, lualib_1.transformLuaLibFunction)(context, lualib_1.LuaLibFeature.NumberToFixed, node, caller, ...params); | ||
default: | ||
@@ -20,0 +22,0 @@ context.diagnostics.push((0, diagnostics_1.unsupportedProperty)(calledMethod.name, "number", expressionName)); |
{ | ||
"name": "typescript-to-lua", | ||
"version": "1.13.2", | ||
"version": "1.13.3", | ||
"description": "A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/TypeScriptToLua/TypeScriptToLua", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1038559
431
14826