-
Notifications
You must be signed in to change notification settings - Fork 71
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
Type only imports are not set as dependencies #7
Comments
Might depend on resolution of one of those: |
Can't wait to see this included, looks like your blockers are starting to have PR's against them. |
Also affects watch mode, need to add all files specified by tsconfig to rollup watch list |
is this error the same:
|
@posva No, your error looks different. You can't really import anything a module is not exporting. If you want side effects, you can do plain |
If I remove it it doesn't compile because it's missing that |
I think this bug causes a problem in my builds as well. I am missing declaration files for files that export only types. Is this captured by this issue? Are there any known workarounds? |
Wrote up a root cause analysis for all type-only import issues in #298 (comment). Also wrote up a PR that is a partial fix for type-only imports in #345 |
After interface modification the plugin (v0.3.0) serves depending files from the cache, missing potentially breaking changes.
To reproduce make a clean build, break a type-only ts file and rerun a build.
The text was updated successfully, but these errors were encountered: