We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Probably a duplicate, but I cannot find one.
function foo(p1: string): void; function foo(p1: number, p2: boolean): void; function foo(p1, p2) { // p1: string | number; // p2: boolean | undefined; }
If there could be constraints among parameters via type guards, it would be awesome.
The text was updated successfully, but these errors were encountered:
See also #10570, #6118
Sorry, something went wrong.
#7763
Just literally search for the title?
@RyanCavanaugh huh, I tried many combinations but not the title... Thanks for doing that for me, closing.
No branches or pull requests
Probably a duplicate, but I cannot find one.
If there could be constraints among parameters via type guards, it would be awesome.
The text was updated successfully, but these errors were encountered: