@arkts/language-plugin
Version:
ArkTS Volar Language Plugin.
15 lines (14 loc) • 632 B
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.ts.map