17 lines
642 B
Plaintext
17 lines
642 B
Plaintext
|
import { type CodeInformation, type LanguagePlugin, type Mapping, type VirtualCode } from '@volar/language-core';
|
||
|
import type ts from 'typescript';
|
||
|
export declare function getVueLanguageModule(): LanguagePlugin<VueVirtualCode>;
|
||
|
declare class VueVirtualCode implements VirtualCode {
|
||
|
fileName: string;
|
||
|
snapshot: ts.IScriptSnapshot;
|
||
|
id: string;
|
||
|
languageId: string;
|
||
|
mappings: Mapping<CodeInformation>[];
|
||
|
embeddedCodes: VirtualCode[];
|
||
|
codegenStacks: never[];
|
||
|
constructor(fileName: string, snapshot: ts.IScriptSnapshot);
|
||
|
update(newSnapshot: ts.IScriptSnapshot): void;
|
||
|
private onSnapshotUpdated;
|
||
|
}
|
||
|
export {};
|