We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fcec56 commit ccb1b76Copy full SHA for ccb1b76
1 file changed
types/lua-state-native.module.d.ts
@@ -34,8 +34,8 @@ declare module '*lua-state.node' {
34
| 'utf8'
35
36
export type LuaValue = LuaPrimitive | LuaTable | LuaFunction | LuaValue[]
37
- export type LuaPrimitive = string | number | boolean | Date | bigint
38
- export type LuaFunction = (...args: LuaValue[]) => LuaValue | undefined
+ export type LuaPrimitive = string | number | boolean | Date | bigint | null
+ export type LuaFunction = (...args: LuaValue[]) => LuaValue | void
39
export type LuaTable = {
40
[index: string]: LuaValue | undefined
41
}
0 commit comments