Anders Hejlsberg
6aeb8c12cc
Preserve type aliases for union and intersection types ( #42149 )
...
* Create separate types for equivalent aliased unions
* Accept new baselines
* Preserve original types for union types
* Accept new baselines
* Preserve intersection origin for union types
* Accept new baselines
* Accept new baselines
* Preserve aliases during relationship checks
* Accept new baselines
* Preserve aliases for intersection and indexed access types
* Accept new baselines
* Compute intersection-of-unions cross product without recursion
* Accept new baselines
* Use denormalized type objects for origin / support 'keyof' origins
* Accept new baselines
* Fix fourslash test
* Recursively extract named union types
* Accept new baselines
* Map on union origin in mapType to better preserve aliases and origins
* Remove redundant call
* Accept new baselines
* Revert back to declared type when branches produce equivalent union
* Accept new baselines
* Don't include denormal origin types in regular type statistics
* Fix issue with unions not being marked primitive-only
* Allow new alias to be associated with type alias instantiation
* Accept new baselines
* Revert "Accept new baselines"
This reverts commit 4507270cc1 .
* Revert "Allow new alias to be associated with type alias instantiation"
This reverts commit 2c2d06dfe1 .
2021-01-08 15:19:58 -10:00
..
2020-12-18 14:24:34 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2020-10-27 15:08:20 -07:00
2020-10-27 15:08:20 -07:00
2020-12-04 16:52:12 -08:00
2020-12-04 16:52:12 -08:00
2020-12-04 16:52:12 -08:00
2020-12-04 16:52:12 -08:00
2020-12-04 16:52:12 -08:00
2020-12-04 16:52:12 -08:00
2020-12-04 16:52:12 -08:00
2020-12-04 16:52:12 -08:00
2020-12-07 14:00:46 -08:00
2020-12-14 17:08:52 -08:00
2020-11-09 11:34:41 -08:00
2020-11-09 11:34:41 -08:00
2020-11-09 11:34:41 -08:00
2020-11-09 11:34:41 -08:00
2020-11-09 11:34:41 -08:00
2020-11-09 11:34:41 -08:00
2020-11-09 11:34:41 -08:00
2020-11-02 15:19:00 -08:00
2020-11-02 15:19:00 -08:00
2020-11-02 15:19:00 -08:00
2020-12-03 11:51:41 +08:00
2020-12-04 11:18:07 +08:00
2020-11-02 15:19:00 -08:00
2020-12-15 10:36:05 -08:00
2020-12-15 10:36:05 -08:00
2020-12-15 10:36:05 -08:00
2020-12-15 10:36:05 -08:00
2020-12-15 10:36:05 -08:00
2020-12-15 10:36:05 -08:00
2020-12-15 10:36:05 -08:00
2020-12-08 16:10:05 -08:00
2020-11-02 14:18:50 -08:00
2020-11-21 09:57:17 -08:00
2020-11-21 09:57:17 -08:00
2020-11-21 09:57:17 -08:00
2020-11-21 09:57:17 -08:00
2020-11-21 09:57:17 -08:00
2020-11-21 09:57:17 -08:00
2020-11-21 09:57:17 -08:00
2020-11-30 13:58:47 -08:00
2020-11-30 13:58:47 -08:00
2020-11-30 13:58:47 -08:00
2020-11-30 13:58:47 -08:00
2020-11-18 11:19:43 -08:00
2020-11-18 11:19:43 -08:00
2020-11-18 11:19:43 -08:00
2021-01-04 10:06:01 +00:00
2020-12-16 13:17:57 -08:00
2020-10-13 10:06:27 -07:00
2020-11-25 09:37:08 -08:00
2020-11-25 09:37:08 -08:00
2020-12-22 10:36:52 -08:00
2020-11-30 11:56:12 -08:00
2020-11-30 11:56:12 -08:00
2021-01-04 10:06:01 +00:00
2020-12-22 10:36:52 -08:00
2020-12-22 10:36:52 -08:00
2020-12-22 10:36:52 -08:00
2020-12-22 10:36:52 -08:00
2020-12-22 10:36:52 -08:00
2020-12-22 09:16:30 +00:00
2020-11-23 15:50:12 -08:00
2020-12-22 10:36:52 -08:00
2020-12-18 15:13:02 -08:00
2020-11-23 15:50:12 -08:00
2020-11-23 15:50:12 -08:00
2020-10-27 16:25:30 -07:00
2020-10-27 15:43:00 -07:00
2020-12-18 14:20:41 -08:00
2020-12-22 10:36:52 -08:00
2020-12-30 10:42:38 -08:00
2020-12-30 10:42:38 -08:00
2020-12-30 10:42:38 -08:00
2020-12-17 09:45:49 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2020-11-02 15:49:22 -08:00
2021-01-07 17:57:23 -08:00
2021-01-07 17:57:23 -08:00
2021-01-07 17:57:23 -08:00
2021-01-07 17:57:23 -08:00
2021-01-07 17:57:23 -08:00
2021-01-07 17:57:23 -08:00
2021-01-07 17:57:23 -08:00
2020-10-28 11:24:40 -07:00
2021-01-04 11:24:37 -08:00
2021-01-04 11:24:37 -08:00
2021-01-04 11:24:37 -08:00
2020-12-11 15:46:11 -08:00
2020-12-02 14:46:20 -08:00
2020-12-02 14:46:20 -08:00
2020-12-02 14:46:20 -08:00
2020-12-02 14:46:20 -08:00
2020-12-02 14:46:20 -08:00
2020-12-02 14:46:20 -08:00
2020-12-11 12:37:02 -08:00
2020-12-23 12:50:03 -08:00
2020-12-22 11:02:38 -08:00
2020-12-22 11:02:38 -08:00
2020-12-11 12:37:02 -08:00
2020-12-11 12:37:02 -08:00
2020-12-22 10:36:52 -08:00
2020-12-02 11:47:32 -08:00
2020-10-27 13:22:02 -07:00
2020-10-27 13:22:02 -07:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2021-01-08 16:10:50 -08:00
2020-11-24 14:40:51 -08:00
2020-12-04 16:37:25 -08:00
2020-12-04 16:37:25 -08:00
2020-12-28 09:43:43 -08:00
2020-11-20 22:41:12 +02:00
2020-11-20 22:41:12 +02:00
2020-11-20 22:41:12 +02:00
2020-11-20 22:41:12 +02:00
2020-11-20 22:41:12 +02:00
2020-11-23 15:50:12 -08:00
2021-01-08 15:19:58 -10:00
2021-01-04 15:33:26 +00:00
2021-01-04 15:33:26 +00:00
2021-01-04 15:33:26 +00:00
2021-01-04 15:33:26 +00:00
2021-01-04 15:33:26 +00:00
2021-01-04 15:33:26 +00:00
2020-11-05 10:25:24 -08:00
2020-11-05 10:25:24 -08:00
2020-11-03 16:22:13 -08:00
2020-12-01 15:23:57 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-11-05 10:09:21 -08:00
2020-10-29 15:23:11 -07:00
2020-10-29 15:23:11 -07:00
2020-10-27 10:05:40 -07:00
2020-10-27 10:05:40 -07:00
2020-10-27 10:05:40 -07:00
2020-10-27 10:05:40 -07:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-11-03 16:22:13 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-23 12:50:03 -08:00
2020-12-11 09:00:05 -08:00
2020-12-11 09:00:05 -08:00
2020-11-06 09:58:34 -08:00
2020-11-06 09:58:34 -08:00
2020-11-06 09:58:34 -08:00
2020-11-02 15:20:13 -08:00
2020-11-02 15:20:13 -08:00
2020-11-02 15:20:13 -08:00
2020-11-02 15:20:13 -08:00