TypeScript/tests/cases/conformance
Thomas Williamson 8ed251d0c7
Support xml namespace prefix for JSX elements and attributes (#37421)
* Support xml namespace prefix for JSX elements and attributes

Just as with the `-` character, `:` is now also treated specially in JSX
element and attribute names, but is only allowed a single time, and not
at the beginning or end of the name, as is specified in the JSX spec.
All tests in jsxInvalidEsprimaTestSuite still fail, but for slightly
different reasons now. Two lines in jsxEsprimaFbTestSuite were
uncommented as they included elements with namespaces, and they now pass
without error.

* Add case for colons at ends of identifier

* Add case for jsx namepsace intrinsics

* Add cases with upcase idents for jsx namespaces

* Add case for jsx namespaces with react option

* Always consider jsx names with colon to be intrinsics

* Adjust comment about chars valid in jsx names but not js idents

* Fix minor typo in namespace prefix test case variable name

* Remove misleading comments on isUnhyphenatedJsxName
2020-11-02 15:34:36 -08:00
..
additionalChecks Add support for pedantic property access (#40171) 2020-11-02 15:19:00 -08:00
ambient
async Fix async function block return expr error in js (#37845) 2020-04-08 15:26:56 -07:00
classes fix(28516): forbid using async modifier with the abstract modifier (#39963) 2020-09-04 14:59:53 -07:00
constEnums
controlFlow Update control flow for nested binary exprs 2020-10-29 13:32:32 -07:00
declarationEmit Replaces the default module index resolver with '/index' instead of '' when handling internal routing for dts bundles (#39277) 2020-09-11 08:12:07 -04:00
decorators Emit fallback for decorator metadata for type only imports (#39337) 2020-07-02 11:39:27 -07:00
directives don't emit "unused @ts-expect-error" in unchecked js files (#40046) 2020-08-25 11:04:23 -07:00
dynamicImport Fix parenthesization rules for yield (#37849) 2020-04-09 13:17:46 -07:00
emitter Reset error variable in downlevel for-await-of loop (#38170) 2020-04-24 14:59:41 -07:00
enums Improve error message for computed enums (#37790) 2020-04-15 13:50:33 -04:00
es6 Fix some rest cases and handling of unused results 2020-10-22 18:58:21 -07:00
es7
es2017 lib: remove length field from SharedArrayBuffer (#40858) 2020-10-06 08:27:56 -07:00
es2018 add support for Lift Template Literal Restriction (#23801) 2020-02-05 08:59:51 -08:00
es2019 feat(41249): allow import.meta with module: es2020 (#41274) 2020-10-27 17:26:15 -07:00
es2020 fix export * as default syntax (#39803) 2020-08-10 16:56:45 -07:00
esnext/logicalAssignment Avoid effect of element access expression (#39174) 2020-06-25 17:38:05 -07:00
expressions Const contexts for template literals (#40707) 2020-09-22 13:11:17 -10:00
externalModules Fix double alias of complex export/import/default/namespace combination 2020-10-29 18:42:36 -07:00
functions Fix regression in name resolution in parameter (#38351) 2020-05-06 12:04:28 -07:00
generators A union including non-iterable types is not iterable (#40350) 2020-09-11 09:31:22 -07:00
interfaces getConstraintDeclaration gets the first declaration with a constraint… (#33426) 2019-09-18 13:56:24 -07:00
internalModules
jsdoc Bind module.export = {Thing} with alias symbols 2020-10-27 15:43:00 -07:00
jsx Support xml namespace prefix for JSX elements and attributes (#37421) 2020-11-02 15:34:36 -08:00
moduleResolution
parser fix spelling errors (#36523) 2020-01-30 13:39:54 -08:00
pedantic Fix noUncheckedIndexedAccess with tuple rest types and generic index types (#40681) 2020-10-01 13:56:13 -07:00
references
salsa Fix function merged with export as namespace sourcefile (#40908) 2020-10-02 10:50:12 -07:00
scanner Add error message for keywords with escapes in them (#32718) 2019-08-12 16:00:38 -07:00
statements fix(40222): fix crash on using destructuring in a catch clause (#40240) 2020-09-08 11:49:45 -07:00
Symbols
types Remove string literals from unions with matching template literals (#41276) 2020-10-27 16:21:07 -07:00
typings
fixSignatureCaching.ts
inferFromBindingPattern.ts Make no inferences from binding patterns with no defaults (#35454) 2019-12-05 07:09:45 -08:00