@blainehansen/macro-ts
Version:
An ergonomic typescript compiler that enables typesafe syntactic macros.
7 lines (6 loc) • 387 B
TypeScript
import { NonEmpty } from "../lib/utils";
import { Transformer } from "../lib/transformer";
import { SpanError, SpanWarning } from "../lib/message";
export declare function fatalErrors(errors: NonEmpty<SpanError>, warnings: SpanWarning[]): never;
export declare function warn(warnings: SpanWarning[]): void;
export declare function assertSuccess(transformer: Transformer<unknown>): void;