-
Notifications
You must be signed in to change notification settings - Fork 460
Fix TypedParams #2353
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
base: main
Are you sure you want to change the base?
Fix TypedParams #2353
Conversation
|
Thanks for the PR! This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged. |
|
This is not a refactoring but a fix 👀 |
|
I have updated the title |
|
I have fixed the conflicts, can you check it, thank you @saschanaz |
src/build/patches.ts
Outdated
| node.properties?.replaceReference, | ||
| ), | ||
| ...handleTypeParameters(node.properties?.typeParameters), | ||
| ...handleTypeParameters(node.properties?.typeParameter), |
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.
Now the function name doesn't match the parameter. IMO the function signature should be similar to handleTyped.
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
|
I have updated it to make it similar to the handle typed |
fixes #2352