TypeScript/tests/cases/conformance
Matt McCutchen cc1c2ab6b2 Go back to the old narrowing algorithm (pre #26143) and avoid #26130 by
skipping narrowing if the old algorithm produces a type to which the
assigned type is not assignable.

This also means we'll no longer narrow for erroneous assignments where
the assigned type is not assignable to the declared type.  This is the
reason for the numericLiteralTypes3 baseline change.

Fixes #26405.
2018-08-17 21:35:03 -04:00
..
ambient
async Fix prologue order in async function 2018-06-07 13:34:16 -07:00
classes
constEnums allow const enum in type query (#21083) 2018-01-09 09:24:00 -08:00
controlFlow avoid generated helpers in baseline 2018-04-20 16:39:37 +02:00
declarationEmit
decorators
dynamicImport Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
emitter Fix loop labels for for..await 2018-01-25 02:11:01 -08:00
enums disallow nan and infinity in enum member 2018-05-04 10:28:59 +08:00
es6 Destructuring declaration prefers type annotation type (#25282) 2018-06-28 10:41:38 -07:00
es7 Allow trailing commas after-rest elements in destructuring 2018-06-04 14:58:30 -07:00
es2017 Fix #21089: Do not infer from numeric index signature in Object.values and Object.entries (#21129) 2018-01-17 14:16:11 -08:00
es2018 Change esnext.promise to es2018.promise (#22292) 2018-03-02 17:08:36 -08:00
es2019/importMeta Specify ESNext module in test. 2018-04-27 18:17:49 -07:00
expressions Go back to the old narrowing algorithm (pre #26143) and avoid #26130 by 2018-08-17 21:35:03 -04:00
externalModules fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
functions
interfaces fix #20018, allow skip constraint when merging interfaces 2017-12-24 17:05:05 +08:00
internalModules
jsdoc Skip whitespace or asterisk in JSDoc param type and name (#26067) 2018-08-16 16:16:09 -07:00
jsx Support LibraryManagedAttributes<TComponent, TAttributes> JSX namespace type (#24422) 2018-06-29 18:45:29 -07:00
moduleResolution "Could not find a declaration file for module" error needs to use the 2018-08-01 14:13:38 -04:00
parser Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
references
salsa Allow super references to constructor function methods (#26482) 2018-08-16 09:20:30 -07:00
scanner
statements add grammar check for labeled declaration (#25317) 2018-07-18 15:37:27 -06:00
Symbols
types Add tests 2018-08-17 10:11:28 -07:00
typings
fixSignatureCaching.ts Property assignments in Typescript (#26368) 2018-08-15 15:25:25 -07:00