Files
website/node_modules/@astrojs/language-server/dist/utils.d.ts
2024-05-06 17:15:30 -04:00

15 lines
503 B
TypeScript

export interface AstroInstall {
path: string;
version: {
full: string;
major: number;
minor: number;
patch: number;
};
}
export declare function getLanguageServerTypesDir(ts: typeof import('typescript')): string;
export declare function getAstroInstall(basePaths: string[], checkForAstro?: {
nearestPackageJson: string | undefined;
readDirectory: typeof import('typescript').sys.readDirectory;
}): AstroInstall | 'not-an-astro-project' | 'not-found';