Skip to content

[I] ServerInitializeResult

LSP initialization result extended with TypeSpec requests and compiler installation locations.

  • InitializeResult
[custom: string]: any

Custom initialization results.

PropertyTypeDescriptionInherited from
capabilitiesServerCapabilities<any>The capabilities the language server provides.InitializeResult.capabilities
compilerCliJsPath?stringPath to cmd/tsp.js within that compiler installation; absent when the package root cannot be inferred.-
compilerRootFolder?stringCompiler package directory when discoverable from the server module’s installed location.-
customCapacities?ServerCustomCapacitiesSupported TypeSpec-specific requests; an absent flag does not advertise support.-
serverInfo?ServerInfoInformation about the server. Since 3.15.0InitializeResult.serverInfo