(
entry: LspRegistrationEntry,
options?: RegisterServerOptions & { replace?: boolean },
)
| 41 | } |
| 42 | |
| 43 | export function register( |
| 44 | entry: LspRegistrationEntry, |
| 45 | options?: RegisterServerOptions & { replace?: boolean }, |
| 46 | ): LspServerDefinition | LspServerBundle { |
| 47 | if (isBundleEntry(entry)) { |
| 48 | return registerServerBundle(entry, options); |
| 49 | } |
| 50 | |
| 51 | return registerServer(entry, options); |
| 52 | } |
| 53 | |
| 54 | export function upsert( |
| 55 | entry: LspRegistrationEntry, |
no test coverage detected