Skip to content

Commit 36a5f8f

Browse files
committed
Update README.md
1 parent 5a83894 commit 36a5f8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { lauxlib, lua, lualib } from "lua-wasm-bindings/dist/lua.54";
1818
const luaCode = `return "Hello"`;
1919
consol.log(executeLua(luaCode));
2020

21-
function executeLua (luaCode: string): string {
21+
function executeLua (luaCode: string): string | Error | never {
2222
const L = lauxlib.luaL_newstate();
2323
lualib.luaL_openlibs(L);
2424

0 commit comments

Comments
 (0)