mirror of
https://github.com/SikongJueluo/cc-utils.git
synced 2025-11-05 03:37:50 +08:00
fix: wrong type, chat manager unicode string; feature: accesscontrol welcome message and chinese support
This commit is contained in:
20
types/craftos/index.d.ts
vendored
20
types/craftos/index.d.ts
vendored
@@ -925,10 +925,22 @@ declare namespace textutils {
|
||||
function pagedTabulate(...args: (LuaTable | Object | Color)[]): void;
|
||||
function serialize(tab: object, options?: SerializeOptions): string;
|
||||
function serialise(tab: object, options?: SerializeOptions): string;
|
||||
function serializeJSON(tab: object, nbtStyle?: boolean): string;
|
||||
function serializeJSON(tab: object, options: SerializeJSONOptions): string;
|
||||
function serialiseJSON(tab: object, nbtStyle?: boolean): string;
|
||||
function serialiseJSON(tab: object, options: SerializeJSONOptions): string;
|
||||
function serializeJSON(
|
||||
tab: object | string | number | boolean,
|
||||
nbtStyle?: boolean,
|
||||
): string;
|
||||
function serializeJSON(
|
||||
tab: object | string | number | boolean,
|
||||
options: SerializeJSONOptions,
|
||||
): string;
|
||||
function serialiseJSON(
|
||||
tab: object | string | number | boolean,
|
||||
nbtStyle?: boolean,
|
||||
): string;
|
||||
function serialiseJSON(
|
||||
tab: object | string | number | boolean,
|
||||
options: SerializeJSONOptions,
|
||||
): string;
|
||||
function unserialize(str: string): unknown;
|
||||
function unserialise(str: string): unknown;
|
||||
function unserializeJSON(
|
||||
|
||||
Reference in New Issue
Block a user