-
-
Notifications
You must be signed in to change notification settings - Fork 127
fix(ExpressionVisitor): not redeclare imports #538
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
Conversation
@EisenbergEffect Any chance someone could review this PR ? The library is currently hard to use with Typescript 3.7+ I’m not sure I took the right approach. |
@bigopon You are probably the most familiar and best to review this. Do you have some time over the next week to take a look? |
It looks pretty safe to change, as this is pretty minimal, let's wait a bit more for @jdanyow 's response, else we should go ahead with this. It doesn't make sense to import from here anyway |
thanks guys for having a look. To help with reviewing I post here the Typescript doc related to this issue and change in Typescript 3.7:
Therefore the question seems to be: "are there any known cases where other modules import |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I remember correctly, the export type X = any;
lines were hacks to workaround some TypeScript issue or issue with the binding types. These issues probably do not exist in the latest TypeScript/binding libs.
Could you expand this change to remove all the export type X = any'
lines as you've already done for AccessScope?
Thanks! 👏
Thanks for your feedback @jdanyow I've now done the same for the other import/export related to
that are not exported from
?? |
@ben-girardet updating the visitor's method signatures as you've described sounds good to me. |
Ready for final review and merge |
Fixes #537
@jdanyow could you have a look and confirm that it's OK to keep the
AccessScope
imported fromaurelia-binding
and not redeclared asany
? See my detailed question here: #537 (comment)