Files
NapCatQQ/.pnpm-store/v3/files/a0/38679aec8ddd6d1e41019658533c47339568fe9f54dcf1ead81b9e87736ca9bb62d35f01b7060ff24f2e6ab4f054de9e6b82030004f1f0ea58fd1f591e0ee1
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

29 lines
817 B
Plaintext

/**
* Represents any possible JSON value:
* - number
* - string
* - boolean
* - null
* - object (with any JSON value as property)
* - array (with any JSON value as element)
*/
export declare type JsonValue = number | string | boolean | null | JsonObject | JsonArray;
/**
* Represents a JSON object.
*/
export declare type JsonObject = {
[k: string]: JsonValue;
};
interface JsonArray extends Array<JsonValue> {
}
/**
* Get the type of a JSON value.
* Distinguishes between array, null and object.
*/
export declare function typeofJsonValue(value: JsonValue | undefined): 'string' | 'number' | 'object' | 'array' | 'null' | 'boolean' | 'undefined';
/**
* Is this a JSON object (instead of an array or null)?
*/
export declare function isJsonObject(value: JsonValue): value is JsonObject;
export {};