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.
1 parent 5a83894 commit 36a5f8fCopy full SHA for 36a5f8f
README.md
@@ -18,7 +18,7 @@ import { lauxlib, lua, lualib } from "lua-wasm-bindings/dist/lua.54";
18
const luaCode = `return "Hello"`;
19
consol.log(executeLua(luaCode));
20
21
-function executeLua (luaCode: string): string {
+function executeLua (luaCode: string): string | Error | never {
22
const L = lauxlib.luaL_newstate();
23
lualib.luaL_openlibs(L);
24
0 commit comments