-
Notifications
You must be signed in to change notification settings - Fork 650
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug in one-sided "this" type guard
Summary: Original Author: [email protected] Original Git: 7af61db Original Reviewed By: avp Original Revision: D68593722 "this" is a valid type guard parameter, but it was not being parsed properly. This caused the following to error: ``` type T = () => implies this is number; ``` This diff fixes this Reviewed By: avp Differential Revision: D68718222 fbshipit-source-id: ec03e25d7ddbc7777841e749d951c09c4c4a169d
- Loading branch information
1 parent
97c91ed
commit 7ead5a3
Showing
3 changed files
with
142 additions
and
4 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
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
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