Post

You can import .ts files. Explicit ext is so much better. This kind of thing is out of scope for svelte. If anything, it should be resolved upstream via node or typescript.