0.0.1 • Published 4 years ago
svelte-ts-plugin v0.0.1
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-plugin
and$ npm link
cd to_your_project
and$ 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:
0.0.1
4 years ago