Files
NapCatQQ/.pnpm-store/v3/files/5a/3716471ce6420771d5203347ed79fcb805673b05cad55206bada42e306058c9b2ab1698a056de02baf240b8154fa326238149ea6f9f48ee78c7ab9fa7b3249
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

12 lines
527 B
Plaintext

/**
* assert that condition is true or throw error (with message)
*/
export declare function assert(condition: any, msg?: string): asserts condition;
/**
* assert that value cannot exist = type `never`. throw runtime error if it does.
*/
export declare function assertNever(value: never, msg?: string): never;
export declare function assertInt32(arg: any): asserts arg is number;
export declare function assertUInt32(arg: any): asserts arg is number;
export declare function assertFloat32(arg: any): asserts arg is number;