UNPKG

400 BTypeScriptView Raw
1/**
2 * This is a stub class, the console is implemented in native code
3 */
4export declare class Console {
5 time(reportName?: string): void;
6 timeEnd(reportName?: string): void;
7 assert(test: boolean, message?: string): void;
8 info(message: any): void;
9 warn(message: any): void;
10 error(message: any): void;
11 log(message: any): void;
12 trace(): void;
13 dir(obj: any): void;
14}