Multi parameter type guard #37625
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
A little different from #26916.
Search Terms
Multiple Parameter Guard Type
Suggestion
Is it possible to extend the guard type definition to check more than one parameter together?
Use Cases
Examples
Scenario:
Option 1: multi-parameter guard type.
Option 2: Enhance the flow type checking for handling these scenarios
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: