svelte-language-server
Version:
A language server for Svelte
17 lines (16 loc) • 416 B
TypeScript
export interface GlobalVar {
name: string;
filename: string;
value: string;
}
export declare class GlobalVars {
private fsWatcher?;
private watchedFiles;
private globalVars;
private readonly workspaceRoot;
constructor(workspaceRoot: string[]);
watchFiles(filesToWatch: string): void;
private createIgnoreMatcher;
private updateForFile;
getGlobalVars(): GlobalVar[];
}