@arkts/language-plugin
Version:
ArkTS Volar Language Plugin.
16 lines (15 loc) • 661 B
text/typescript
import "@volar/typescript";
import { LanguagePlugin } from "@volar/language-core";
import * as ets from "ohos-typescript";
import * as ts from "typescript";
import { URI } from "vscode-uri";
//#region src/language-plugin.d.ts
interface ETSLanguagePluginOptions {
sdkPaths?: string[];
tsdk?: string;
}
declare function ETSLanguagePlugin(tsOrEts: typeof ts, options?: ETSLanguagePluginOptions): LanguagePlugin<URI | string>;
declare function ETSLanguagePlugin(tsOrEts: typeof ets, options?: ETSLanguagePluginOptions): LanguagePlugin<URI | string>;
//#endregion
export { ETSLanguagePlugin, type ETSLanguagePluginOptions };
//# sourceMappingURL=index.d.mts.map