typescript-to-lua 1.25.0 → 1.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
local __TS__AsyncAwaiter, __TS__Await
|
|
2
2
|
do
|
|
3
|
-
local
|
|
4
|
-
local
|
|
5
|
-
local
|
|
6
|
-
local
|
|
3
|
+
local ____coroutine = _G.coroutine or ({})
|
|
4
|
+
local cocreate = ____coroutine.create
|
|
5
|
+
local coresume = ____coroutine.resume
|
|
6
|
+
local costatus = ____coroutine.status
|
|
7
|
+
local coyield = ____coroutine.yield
|
|
7
8
|
function __TS__AsyncAwaiter(generator)
|
|
8
9
|
return __TS__New(
|
|
9
10
|
__TS__Promise,
|
|
@@ -777,10 +777,11 @@ end
|
|
|
777
777
|
|
|
778
778
|
local __TS__AsyncAwaiter, __TS__Await
|
|
779
779
|
do
|
|
780
|
-
local
|
|
781
|
-
local
|
|
782
|
-
local
|
|
783
|
-
local
|
|
780
|
+
local ____coroutine = _G.coroutine or ({})
|
|
781
|
+
local cocreate = ____coroutine.create
|
|
782
|
+
local coresume = ____coroutine.resume
|
|
783
|
+
local costatus = ____coroutine.status
|
|
784
|
+
local coyield = ____coroutine.yield
|
|
784
785
|
function __TS__AsyncAwaiter(generator)
|
|
785
786
|
return __TS__New(
|
|
786
787
|
__TS__Promise,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
local __TS__AsyncAwaiter, __TS__Await
|
|
2
2
|
do
|
|
3
|
-
local
|
|
4
|
-
local
|
|
5
|
-
local
|
|
6
|
-
local
|
|
3
|
+
local ____coroutine = _G.coroutine or ({})
|
|
4
|
+
local cocreate = ____coroutine.create
|
|
5
|
+
local coresume = ____coroutine.resume
|
|
6
|
+
local costatus = ____coroutine.status
|
|
7
|
+
local coyield = ____coroutine.yield
|
|
7
8
|
function __TS__AsyncAwaiter(generator)
|
|
8
9
|
return __TS__New(
|
|
9
10
|
__TS__Promise,
|
|
@@ -773,10 +773,11 @@ end
|
|
|
773
773
|
|
|
774
774
|
local __TS__AsyncAwaiter, __TS__Await
|
|
775
775
|
do
|
|
776
|
-
local
|
|
777
|
-
local
|
|
778
|
-
local
|
|
779
|
-
local
|
|
776
|
+
local ____coroutine = _G.coroutine or ({})
|
|
777
|
+
local cocreate = ____coroutine.create
|
|
778
|
+
local coresume = ____coroutine.resume
|
|
779
|
+
local costatus = ____coroutine.status
|
|
780
|
+
local coyield = ____coroutine.yield
|
|
780
781
|
function __TS__AsyncAwaiter(generator)
|
|
781
782
|
return __TS__New(
|
|
782
783
|
__TS__Promise,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-to-lua",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.1",
|
|
4
4
|
"description": "A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!",
|
|
5
5
|
"repository": "https://github.com/TypeScriptToLua/TypeScriptToLua",
|
|
6
6
|
"homepage": "https://typescripttolua.github.io/",
|