TypeScript/tests/cases/conformance/types
Anders Hejlsberg 71a91763f4
Fix33448 (#35513)
* Filter out discriminants of type 'never'.

* Add tests

* Accept new baselines

* Remove unnecessary '!' assertion
2019-12-12 06:45:46 -08:00
..
any [Transforms] Merge master 08/09 (#10263) 2016-08-26 15:51:10 -07:00
asyncGenerators Fix incorrect parameter types for AsyncIterator next/return (#33354) 2019-09-17 21:02:12 -07:00
conditional Add inference priority level for conditional types in contravariant positions (#35199) 2019-11-21 13:05:44 -08:00
contextualTypes Add more tests for await 2018-09-21 10:32:28 -07:00
forAwait Remove ES2018 transforms for ES2018 target (#26315) 2019-02-06 15:35:52 -08:00
import Module or import types (#22592) 2018-04-02 10:18:23 -07:00
intersection Add isIntersectionConstituent to relation key (#34789) 2019-10-29 15:08:59 -07:00
keyof Add regression test 2019-06-23 09:19:56 -10:00
literal Add regression test 2019-07-04 16:27:03 -10:00
localTypes addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
mapped Fix regression of generic T assignability to Partial<T> (#32354) 2019-07-12 07:57:55 -07:00
members Revert more baselines, add jake task for typemock 2017-12-19 13:40:32 -08:00
namedTypes Adding more tests 2016-05-16 13:37:17 -07:00
never Merge branch 'master' into vfs 2018-04-17 14:39:20 -07:00
nonPrimitive Check that test cases produce expected types 2018-05-01 13:05:49 -07:00
objectTypeLiteral Fixing test 2016-05-16 13:37:03 -07:00
primitives
rest Properly strip readonly from rest argument types (#35169) 2019-11-18 13:11:36 -08:00
specifyingTypes Add regression tests 2018-08-06 10:02:33 -07:00
spread When calculating spreads, merge empty object into nonempty object to … (#34853) 2019-11-22 17:19:17 -08:00
stringLiteral Update tests 2016-09-01 14:22:18 -07:00
thisType Fix for incorrect 'this' type for optional call (#33799) 2019-10-04 13:39:42 -07:00
tuple Error when writing to readonly tuple in rest element range 2019-05-22 15:03:17 -07:00
typeAliases add strictTuples flag giving tuples known length 2017-08-20 02:54:26 +08:00
typeParameters Add regression test 2018-07-24 15:33:02 -07:00
typeRelationships Add regression tests 2019-10-20 18:00:08 -07:00
union Fix33448 (#35513) 2019-12-12 06:45:46 -08:00
uniqueSymbol Remove overzealous simple relationship check for unique symbols 2019-01-14 17:08:04 -08:00
unknown Narrow unknown under inequality when assumed false (#33488) 2019-09-18 10:54:42 -07:00
witness