Skip to content

Commit

Permalink
[flow][EZ] Fix comment
Browse files Browse the repository at this point in the history
Summary: Changelog: [internal]

Reviewed By: gkz

Differential Revision: D66117091

fbshipit-source-id: 406fdbd9a2f53e89b69b0468673ccfa088e4b852
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Nov 18, 2024
1 parent c52e003 commit 7008982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typing/type.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ module rec TypeTerm : sig
| ArrP (* Array.isArray *)
(* `if (a.b)` yields `flow (a, PredicateT(PropTruthyP ("b"), tout))` *)
| PropTruthyP of string * reason
(* `if (a?.b === null)` yields `flow (a, PredicateT(PropIsNullP ("b"), tout))` *)
(* `if (a?.b === null)` yields `flow (a, PredicateT(PropIsExactlyNullP ("b"), tout))` *)
| PropIsExactlyNullP of string * reason
(* `if (a?.b !== undefined)` yields `flow (a, PredicateT(PropNonVoidP ("b"), tout))` *)
| PropNonVoidP of string * reason
Expand Down

0 comments on commit 7008982

Please sign in to comment.