TypeScript/tests/cases/conformance
Nathan Shively-Sanders 868c275fdf
Plain JS binder errors (#46816)
* Plain JS binder errors

Issue select errors from the binder in JS files that do not have checkJS
explicitly turned on or off. These errors mirror runtime checks done by
Javascript.

* Rest of plain JS binder errors

* address PR comments

* Only issue binder errors in plain JS.

Checker errors require requesting diagnostics, which stll needs to be
peformance tested.

This commit removes one cross-file duplicate declaration error in the tests.

* fix const lint
2021-11-18 17:13:06 -08: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 feat(36080): forbid to use JSDoc visibility modifiers in private fields (#46056) 2021-09-30 09:48:56 -07:00
constEnums fix compiler crash (#25925) 2019-04-25 10:51:36 -07:00
controlFlow Control flow analysis for destructured discriminated unions (#46266) 2021-11-02 15:48:13 -07: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 fix(45336): add a blank line before the comment expression to avoid disrupting return statement (#46287) 2021-10-11 16:41:49 -07:00
es7
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 Fix const assertions on enums 2021-09-21 12:42:28 -04:00
externalModules Improve errors on module: node12 and extensionless relative imports (#46486) 2021-10-29 10:25:03 -07: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
importAssertion Import assertion: do no parse } if { is not present (#46388) 2021-10-15 13:26:46 -07:00
interfaces fix(43215): disallow using never as an interface name (#43217) 2021-03-29 17:22:41 -07:00
internalModules
jsdoc fix(42238): emit this parameter in function declaration (#46511) 2021-11-17 15:43:27 -08:00
jsx fix(46512): allow to use tag names containing keywords with - (#46546) 2021-11-02 15:12:10 -07:00
moduleResolution Fix incorrect suggestion for package that bundles types (#45507) 2021-08-20 11:12:34 -07:00
node Make specifier generation from export map information conditional on module resolution mode (#46670) 2021-11-03 13:10:44 -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 Plain JS binder errors (#46816) 2021-11-18 17:13:06 -08: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 fix(45692): merge non-primitive in spread-union (#45729) 2021-11-05 15:41:06 -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