UNPKG

@hadss/hmrouter-plugin

Version:

HMRouter Compiler Plugin

10 lines (9 loc) 442 B
import { Project, SourceFile } from 'ts-morph'; export declare let project: Project | null; export declare class TsAstUtil { static getSourceFile(filePath: string): SourceFile; static clearProject(): void; static parseConstantValue(sourceFile: SourceFile, variableName: string, propertyName?: string): string; static parseCrossModuleVariable(scanDir: string): Map<string, string[]>; private static getExportedVariables; }