You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
269 B
12 lines
269 B
|
3 years ago
|
export declare enum WarningTypes {
|
||
|
|
WARNING = "Warning",
|
||
|
|
DEPRECATION = "DeprecationWarning"
|
||
|
|
}
|
||
|
|
export declare function warn(warning: Warning): void;
|
||
|
|
export interface Warning {
|
||
|
|
code: string;
|
||
|
|
type: WarningTypes;
|
||
|
|
message: string;
|
||
|
|
warned?: boolean;
|
||
|
|
}
|