sucrase
Version:
Super-fast alternative to Babel for when you can target modern JS runtimes
15 lines (14 loc) • 399 B
TypeScript
import type NameManager from "./NameManager";
declare const HELPERS: {
[name: string]: string;
};
export declare class HelperManager {
readonly nameManager: NameManager;
helperNames: {
[baseName in keyof typeof HELPERS]?: string;
};
constructor(nameManager: NameManager);
getHelperName(baseName: keyof typeof HELPERS): string;
emitHelpers(): string;
}
export {};