-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Overloading declaration droped #203
Comments
This would be correct behavior as the final "implementation" signature is merely the fall-through combination of all overloads and not a signature that can be itself matched: thus when using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 3.1.1, 3.2.0
Rollup Version: 3.7.5
Operating System and version (if applicable): wsl2
Node Version (if applicable): 14.20.1
Does it work with tsc (if applicable): fine works in tsc
Reproduction
rollup-plugin-ts
drop overloading declaration.Expected Behavior
I think overloading function .d.ts file like that,
But rollup-plugin-ts drop first declaration in generated .d.ts file.
Actual Behavior
The text was updated successfully, but these errors were encountered: