-
-
Notifications
You must be signed in to change notification settings - Fork 672
Exported type not found #144
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
It's alias type. |
This indeed works, but it isn't intended behavior I guess? What if I have other exported things inside A.ts? I wouldn't want to write |
Actually best practice store all type definitions in "*.d.ts" file which allow include all this types in top level and via tsconfig |
Types are currently somewhat special in that these become program globals and do not follow import/export semantics as one might expect. Needs improvement. |
Closing in favor of #473, which is our tracking issue for similar related issues now. |
When exporting a type and importing it in another file, it cannot be found.
The text was updated successfully, but these errors were encountered: