TypeScript/tests/cases/conformance/types
Anders Hejlsberg 357f715382
Check combined intersection properties against target index signatures (#35143)
* Check combined intersection properties against target index signatures

* Add tests

* Accept new baselines

* Less aggressive check for index signatures

* Track intersection membership state for both source and target

* Minor fixes
2020-01-10 10:46:10 -08:00
..
any
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
intersection Check combined intersection properties against target index signatures (#35143) 2020-01-10 10:46:10 -08:00
keyof Add regression test 2019-06-23 09:19:56 -10:00
literal Contextually typed binding element initializers (#35855) 2020-01-06 12:53:23 -08:00
localTypes
mapped Fix regression of generic T assignability to Partial<T> (#32354) 2019-07-12 07:57:55 -07:00
members
namedTypes
never
nonPrimitive
objectTypeLiteral
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
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
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 Increase selectivity of subtype relationship for signatures (#35659) 2019-12-20 14:52:22 -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