mirror of
https://github.com/SikongJueluo/cc-utils.git
synced 2025-11-04 19:27:50 +08:00
11 lines
433 B
TypeScript
11 lines
433 B
TypeScript
/** @noSelfInFile **/
|
|
/** @noResolution **/
|
|
declare module "cc/expect" {
|
|
namespace expect {
|
|
function expect(index: number, value: any, ...types: string[]): any;
|
|
function field(tbl: Object|LuaTable, index: string, ...types: string[]): any;
|
|
function range(num: number, min?: number, max?: number): number;
|
|
}
|
|
function expect(index: number, value: any, ...types: string[]): any;
|
|
export = expect;
|
|
} |