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.

18 lines
399 B

3 years ago
declare function warning (): Warning
export declare class WarnOpts {
code: string;
name: string;
message: string;
}
export type BuildWarnOptsFn = (a?: any, b?: any, c?: any) => WarnOpts
interface Warning {
create(name: string, code: string, message: string): BuildWarnOptsFn,
emit(cod: string, a?: any, b?: any, c?: any): void,
emitted: Map<string, boolean>
}
export default warning