TypeScript/tests/cases/conformance/types
Wenlu Wang dc237b317e
Change static fields emits (#43114)
* use emit into iife

* Update emit

* Revert un-related changes

* Allow super in static context

* Allow this and super in static property declaration

* Add more tests

* Avoid errors

* Accept baseline

* Accept baseline

* Add decorated classes test

* Add errors

* Avoid this in emitter

* make lint happy

* Add class expression tests

* Add computed name test

* Avoid super if target below es6

* Adjust function boundary

* Add internal

* Fix minor CR issues

* accept baseline

* Update behavior

* Avoid spaces

* Make lint happy

* Avoid function boundary utils

* Update baseline

* Avoid errors

* Accept baseline

* Accept baseline

* Accept baseline

* Accept baseline

* Use substitutions

* Full coverage for super, this, merge static and private context

* Fix use-before-def in static fields

Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2021-06-25 15:49:27 -07: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 Change static fields emits (#43114) 2021-06-25 15:49:27 -07: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 Fix narrowing of intersections of type variables and primitive types (#43131) 2021-03-18 08:55:50 -07:00
keyof Add regression test 2019-06-23 09:19:56 -10:00
literal Reinstate constraint check for template literal types (#43661) 2021-04-13 12:17:55 -10:00
localTypes
mapped Fix logic for determining whether to simplify keyof on mapped types (#44042) 2021-05-19 13:43:22 -07:00
members Index signatures for symbols and template literal strings (#44512) 2021-06-21 11:25:42 -07:00
namedTypes Adding more tests 2016-05-16 13:37:17 -07:00
never Never-reducing intersections are not untyped function call targets (#42917) 2021-02-23 17:22:41 -08: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 Make hasCorrectArity handle tuples properly 2020-06-04 23:46:56 -04:00
specifyingTypes allow this in typeQuery (#43898) 2021-06-17 07:52:20 -07:00
spread Fix check for overwritten properties in object spreads (#44696) 2021-06-22 14:39:33 -07:00
stringLiteral Update tests 2016-09-01 14:22:18 -07:00
thisType Fix access of protected members on generic this-type (#36928) 2020-02-21 09:33:21 -08:00
tuple Leading and middle rest elements in tuple types (#41544) 2021-01-04 15:12:51 -10:00
typeAliases Intrinsic string types (#40580) 2020-09-21 07:09:29 -10:00
typeParameters Add regression test 2018-07-24 15:33:02 -07:00
typeRelationships Exclude enum/number compatibility rule from comparable relation (#42472) 2021-03-06 06:52:00 -08:00
union regard TemplateLiteral as discriminant property (#44569) 2021-06-23 15:48:39 -07:00
uniqueSymbol Gh 41788 incorrect output for esprivate with nested class in esnext (#42663) 2021-04-07 08:23:16 -07:00
unknown Narrow unknown under inequality when assumed false (#33488) 2019-09-18 10:54:42 -07:00
witness