zhangjian
2023-06-05 0976d2d0f90cff460cedfdc8bd74e98c2c31a58c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export declare function log(str: string, onlyOnce?: boolean): void;
export declare function warn(str: string, onlyOnce?: boolean): void;
export declare function error(str: string, onlyOnce?: boolean): void;
export declare function deprecateLog(str: string): void;
export declare function deprecateReplaceLog(oldOpt: string, newOpt: string, scope?: string): void;
/**
 * If in __DEV__ environment, get console printable message for users hint.
 * Parameters are separated by ' '.
 * @usage
 * makePrintable('This is an error on', someVar, someObj);
 *
 * @param hintInfo anything about the current execution context to hint users.
 * @throws Error
 */
export declare function makePrintable(...hintInfo: unknown[]): string;
/**
 * @throws Error
 */
export declare function throwError(msg?: string): void;