@typespec/compiler
Version:
TypeSpec compiler and standard library
5 lines • 343 B
TypeScript
import type { ServerLog } from "./types.js";
export type FatalErrorWriter = (message: string) => void;
export declare function writeServerFatalError(write: FatalErrorWriter, pendingMessages: readonly ServerLog[], error: unknown): void;
export declare function formatFatalError(error: unknown): string;
//# sourceMappingURL=fatal-error.d.ts.map