-
Notifications
You must be signed in to change notification settings - Fork 15
Unable to import TS file from Svelte file #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Even thou ignoring the error and using |
@tomasbonco |
Unable to import TS file from Svelte file #15
Describe the bug
The path of .ts dependency can't be resolved by .svelte file.
To Reproduce
Steps to reproduce the behavior:
store.ts
file, with content:App.svelte
add following line:And you'll get:
Expected behavior
Everything should be awesome, no errors reported.
Additional context
During filling of this bug I found out that
import {something} from './store.ts'
does work, but throws error into console:The text was updated successfully, but these errors were encountered: