firebase-bolt
Version:
Firebase Bolt Security and Modeling Language Compiler
14 lines (13 loc) • 538 B
TypeScript
export declare function reset(): void;
export declare function setDebug(debug?: boolean): void;
export declare function silent(f?: boolean): void;
export interface ErrorContext {
line?: number;
column?: number;
}
export declare function setContext(fn: () => ErrorContext): void;
export declare function error(s: string): void;
export declare function warn(s: string): void;
export declare function getLastMessage(): string | undefined;
export declare function hasErrors(): boolean;
export declare function errorSummary(): string;