You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 declare for the type the implementation signature is unnecessary and dropped.
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: