Declaration fix
This commit is contained in:
parent
29d36394b5
commit
9fb825891a
2
minetest-api.d.ts
vendored
2
minetest-api.d.ts
vendored
@ -262,7 +262,7 @@ export interface minetest {
|
||||
parse_json(string: string, nullValue: any): Array<any>
|
||||
write_json(data: any[], styled: boolean): string | void
|
||||
serialize(any: any): string
|
||||
deserialize(string: string, safe: boolean): Map<any, any>
|
||||
deserialize(string: string, safe?: boolean): Map<any, any>
|
||||
compress(data: string, method: CompressionMethod, ...any: any): string
|
||||
decompress(data: string, method: CompressionMethod, ...any: any): string
|
||||
rgba(red: number, green: number, blue: number, alpha: number): string
|
||||
|
Loading…
x
Reference in New Issue
Block a user