Closed remcohaszing closed 6 months ago
Thanks! I modified the API to accept unknown properties. Also corrected is that locale
should be a property of InitializeParams
instead of InitializeParams.initializationOptions
.
I think whether to keep typescript.tsdk
as an optional convention needs to be discussed first, so I temporarily reverted the changes to the initializationOptions
interface.
This allows people to load TypeScript as suggested in #140. Since
initializationOptions
is of typeany
there, it doesn’t really matter. But theInitializationOptions
interface is used by the test utils and prohibits the user from passing additional properties.Also it’s nice if all Volar based language servers that do allow the client to pass the TypeScript SDK, do so in a consistent manner.