Licence
MIT
Version
0.0.1
Deps
0
Size
5 kB
Vulns
0
Weekly
0
TypeScript Language Service Plugin for Svelte
This is an attempt to pass javascript from .svelte to tsserver.
I personally use it with Vim ALE to get better auto-complete. A little bit more information what I have tried to do here https://blog.ffff.lt/posts/vim-and-svelte/#typescript
Development instructions
cd svelte-ts-pluginand$ npm linkcd to_your_projectand$ npm link svelte-ts-plugin- Add plugin to jsconfig.json. E.g.:
{
"compilerOptions": {
"plugins": [{ "name": "svelte-ts-plugin" }]
}
}
If you prefer (or are forced) to use yarn then replace npm to yarn in commands above.
Useful links
This information might be useful: