UNPKG

@arkts/shared

Version:
22 lines (17 loc) 496 B
import type { EtsServerClientOptions } from './client-options' type GetAPI = (version: 0) => { configurePlugin<PluginName extends keyof PluginOptions>( pluginName: PluginName, options: PluginOptions[PluginName], ): void } export interface TypescriptLanguageFeatures { getAPI?: GetAPI } export interface ETSPluginOptions { workspaceFolder: string | undefined lspOptions: EtsServerClientOptions } export interface PluginOptions { 'ets-typescript-plugin': ETSPluginOptions }