Andy 8153397e91
Lazily compute signature type predicates (#17600)
* Lazily compute signature type predicates

* Use an instance of IdentifierTypePredicate to represent an unresolved type predicate

* Simplify `getMaybeTypePredicate`

* Invert representation of `resolvedTypePredicate`

* Remove `__unresolvedTypePredicate` type and remember to use `noTypePredicate` instead of `undefined` when in all `createSignature` calls

* Fix style of getTypePredicateOfSignature

* Use in createGetSymbolWalker

* Fix bugs for unions of type predicates

* Code review

* Make noTypePredicate purely an implementation detail of getTypePredictateOfSignature

* Add test

* Add test for #19642

* Add test with reversed order
2017-12-05 08:32:34 -08:00
..
2017-08-24 15:06:06 -07:00
2017-08-30 17:14:16 -07:00
2017-08-02 12:07:09 -07:00
2017-07-30 18:08:10 -07:00
2017-10-20 22:52:20 -07:00
2017-11-16 10:58:12 -08:00
2017-09-08 15:51:25 -07:00
2017-08-25 08:55:43 -07:00
2017-07-24 17:07:24 -07:00
2017-06-12 13:17:24 -07:00
2017-10-06 09:22:10 -07:00
2017-11-13 10:55:33 -08:00
2017-11-16 11:08:03 -08:00