We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_G
typeof globalThis
1 parent 0a019a8 commit 29e94b0Copy full SHA for 29e94b0
core/global.d.ts
@@ -22,7 +22,7 @@ declare const _VERSION: 'Lua 5.1' | 'Lua 5.2' | 'Lua 5.3' | 'Lua 5.4';
22
* §2.2). Lua itself does not use this variable; changing its value does not
23
* affect any environment, nor vice versa.
24
*/
25
-declare const _G: Record<string, any>;
+declare const _G: typeof globalThis;
26
27
/**
28
* Calls error if the value of its argument v is false (i.e., nil or false);
0 commit comments