@blainehansen/macro-ts
Version:
An ergonomic typescript compiler that enables typesafe syntactic macros.
10 lines (9 loc) • 715 B
TypeScript
import ts = require("typescript");
import { Transformer } from "../lib/transformer";
export declare function reportDiagnostics(workingDir: string, diagnostics: readonly ts.Diagnostic[]): never;
export declare const configLocation = "./.macro-ts.toml";
export declare const defaultMacrosEntry = "./.macros.ts";
export declare function produceTransformer(macrosEntry: string, workingDir: string): Transformer<undefined> | undefined;
export declare function compile(entryGlob: string | undefined, devMode: boolean, shouldEmit: boolean): void;
export declare function register(entryFile: string | undefined, workingDir: string, devMode: boolean): ts.LanguageService;
export declare function main(argv: string[]): void;