12 lines
543 B
Plaintext
12 lines
543 B
Plaintext
import type { ServiceContext } from '@volar/language-service';
|
|
import type * as ts from 'typescript';
|
|
import type { TextDocument } from 'vscode-languageserver-textdocument';
|
|
export type SharedContext = ServiceContext & {
|
|
ts: typeof import('typescript');
|
|
languageServiceHost: ts.LanguageServiceHost;
|
|
languageService: ts.LanguageService;
|
|
getTextDocument: (uri: string) => TextDocument | undefined;
|
|
uriToFileName: (uri: string) => string;
|
|
fileNameToUri: (fileName: string) => string;
|
|
};
|
|
//# sourceMappingURL=types.d.ts.map |