-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Since TypeGuards are an advanced feature I included a very short description of what they are, and also a link to the typing spec so that users could read a longer-form description. I documented both cases where we complain: - Any type guard that does not accept at least one positional argument - A `TypeIs` where the narrowed type is not assignable to the parameter type. Reviewed By: yangdanny97 Differential Revision: D59766506 fbshipit-source-id: f0897992e3264fbcbd1a001e237f1d6727cc49d6
- Loading branch information
1 parent
26b9a1a
commit 68b4ab0
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters