TypeScript 2.2 will provide the capability to customize TypeScript tsserver commands with plugin.
Today it exists 2 plugins :
I'm trying to implement tslint plugin like Angular2 plugin, but it should be cool if we could have a guide like "How to implement TypeScript plugin". For instance I have noticed that Angular2 plugin waits a method create(info: ts.server.PluginCreateInfo). Could you specify please which properties contains ts.server.PluginCreateInfo (it seems that there is languageServiceHost, languageService and project)
Could you tell me please the strategy for loading the plugin? How tsserver which plugins it must load?
Many thanks for your clarification!
TypeScript 2.2 will provide the capability to customize TypeScript tsserver commands with plugin.
Today it exists 2 plugins :
I'm trying to implement tslint plugin like Angular2 plugin, but it should be cool if we could have a guide like "How to implement TypeScript plugin". For instance I have noticed that Angular2 plugin waits a method
create(info: ts.server.PluginCreateInfo). Could you specify please which properties contains ts.server.PluginCreateInfo (it seems that there islanguageServiceHost,languageServiceandproject)Could you tell me please the strategy for loading the plugin? How tsserver which plugins it must load?
Many thanks for your clarification!