Skip to content
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

fix(fast_check/dts): remove initializers in class methods/ctors #521

Merged

Conversation

dsherret
Copy link
Member

Surprising nobody has reported this before (I guess typescript just ignores these due to people skipping lib check).

Closes #519

}
}

self.handle_func_params(&mut fn_decl.function.params);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was mostly just extracting functions and then reusing the code in methods/ctors. I didn't change the internal implementations.

@dsherret dsherret merged commit 92eac49 into denoland:main Aug 30, 2024
16 checks passed
@dsherret dsherret deleted the fix_dts_remove_initializers_class_params branch August 30, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.d.ts transformation doesn't handle default parameters of constructor correctly
2 participants