🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
23
node_modules/@astrojs/language-server/dist/check.d.ts
generated
vendored
Normal file
23
node_modules/@astrojs/language-server/dist/check.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import type { Diagnostic } from 'vscode-languageserver-types';
|
||||
import { LSConfig } from './core/config';
|
||||
export { DiagnosticSeverity } from 'vscode-languageserver-types';
|
||||
export { Diagnostic };
|
||||
export interface GetDiagnosticsResult {
|
||||
fileUri: string;
|
||||
text: string;
|
||||
diagnostics: Diagnostic[];
|
||||
}
|
||||
export declare class AstroCheck {
|
||||
private docManager;
|
||||
private configManager;
|
||||
private pluginHost;
|
||||
constructor(workspacePath: string, typescriptPath: string, options?: LSConfig);
|
||||
upsertDocument(doc: {
|
||||
text: string;
|
||||
uri: string;
|
||||
}): void;
|
||||
removeDocument(uri: string): void;
|
||||
getDiagnostics(): Promise<GetDiagnosticsResult[]>;
|
||||
private initialize;
|
||||
private getDiagnosticsForFile;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue