Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

unified-signatures should allow signatures when at least one is deprecated #337

Open
sandersn opened this issue Jul 27, 2021 · 0 comments
Open

Comments

@sandersn
Copy link
Member

For example:

/** @deprecated Please pass a config object instead */
declare function f(x: boolean): void
declare function f(x: Config): void

I'm not sure whether all the non-deprecated signatures should still be combined according to the normal rules. Probably.

Related to #183, but a more targeted exception.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant