TypeScript/tests/cases/conformance
Orta Therox 07fd7bce64
Intl 2021 Updates (#45647)
* Import of Intl.Locale from #39664

* Handle updating es2020.intl and add es2021 for new DateTimeFormatOptions options - re: #39664

* Extends DateTimeFormatOptions for new Intl APIs - re: #45420

* Handle migrating Intl.NumberFormat.formatToParts to es2018 (keeping esnext.intl around)

* Adds Intl.DisplayNames to es2020 - re: #44022

* Remove attributes added in es2021 from es2020 - re: #42944

* Add a reference to es2021 in the command line parser

* Adds some docs about the lib files

* Baselines

* Allow undefined in Intl inputs to allow for ergonomic usage of exactOptionalPropertyTypes - see #45652

* Adds some tests covering the APIs

* Apply suggestions from code review

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* Handle PR feedback

* More review improvements

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2021-09-08 10:43:01 +01:00
..
additionalChecks Add support for pedantic property access (#40171) 2020-11-02 15:19:00 -08:00
ambient Add bad test case 2019-04-24 08:44:24 -07:00
async Improve parsing in await and yield context (#44680) 2021-06-21 17:30:55 -07:00
classes fix(45182): allow property access in arrow function (#45193) 2021-07-27 09:46:17 -07:00
constEnums fix compiler crash (#25925) 2019-04-25 10:51:36 -07:00
controlFlow Fix check for generic types in control flow analysis (#45148) 2021-08-06 08:53:30 +02:00
declarationEmit Reverts #39277 removing bundledPackageName (#41499) 2021-01-08 10:55:34 +00:00
decorators Fix decorator metadata references to type-only-imported namespaces (#44915) 2021-08-02 14:18:15 -07:00
directives don't emit "unused @ts-expect-error" in unchecked js files (#40046) 2020-08-25 11:04:23 -07:00
dynamicImport Gh 41788 incorrect output for esprivate with nested class in esnext (#42663) 2021-04-07 08:23:16 -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 Improve __spreadArray perf, and other fixes related to SpreadElement (#44527) 2021-06-11 16:21:55 -07:00
es7 Allow trailing commas after-rest elements in destructuring 2018-06-04 14:58:30 -07:00
es2017 lib: remove length field from SharedArrayBuffer (#40858) 2020-10-06 08:27:56 -07:00
es2018 Intl 2021 Updates (#45647) 2021-09-08 10:43:01 +01:00
es2019 Add missing MetaProperty stuffs 2021-02-22 19:33:01 -05:00
es2020 Intl 2021 Updates (#45647) 2021-09-08 10:43:01 +01:00
es2021/logicalAssignment Add target: ES2021 (#41239) 2021-03-10 13:31:25 -08:00
expressions Change static fields emits (#43114) 2021-06-25 15:49:27 -07:00
externalModules fix(44868): handle import type in shorthand assignment (#44881) 2021-07-06 09:29:09 -06:00
functions Fix regression in name resolution in parameter (#38351) 2020-05-06 12:04:28 -07:00
generators Report implicit any error for 'yield' result with no contextual type (#41348) 2020-12-18 09:55:33 -08:00
interfaces fix(43215): disallow using never as an interface name (#43217) 2021-03-29 17:22:41 -07:00
internalModules
jsdoc Fix 'as const'-like behavior in JSDoc type cast (#45464) 2021-08-27 18:22:02 -07:00
jsx Improve parser recovery for unclosed/mismatched JSX elements (#43780) 2021-05-20 07:20:57 -07:00
moduleResolution Fix incorrect suggestion for package that bundles types (#45507) 2021-08-20 11:12:34 -07:00
override fix(45345): throw an error on overridden member that is defined in multiple interfaces (#45352) 2021-08-10 11:50:22 -07:00
parser Revert #43460 and #40884 (#44175) 2021-05-19 16:54:07 -07:00
pedantic Fix noUncheckedIndexedAccess with tuple rest types and generic index types (#40681) 2020-10-01 13:56:13 -07:00
references
salsa Issue "Cannot find name did-you-mean" errors as suggestions in plain JS (#44271) 2021-06-15 08:54:08 -07:00
scanner Add error message for keywords with escapes in them (#32718) 2019-08-12 16:00:38 -07:00
statements fix(43879): forbid async in the left hand in a for-of statement (#43886) 2021-05-12 06:11:08 -07:00
Symbols
types Include index signatures for tagged primitives in keyof (#45773) 2021-09-07 10:46:13 -07:00
typings Only suggest adding to types if present in compilerOptions 2018-10-30 21:31:22 +01:00
fixSignatureCaching.ts Property assignments in Typescript (#26368) 2018-08-15 15:25:25 -07:00
inferFromBindingPattern.ts Make no inferences from binding patterns with no defaults (#35454) 2019-12-05 07:09:45 -08:00