TypeScript/tests/cases/conformance
James Keane 50f442f9ff Fixes #26122 - erroneous "TS2350" for js constructors called with incorrect parameters (#26124)
* Fixes #26122.

When `resolveCall` does not resolve in `resolveNewExpression`, the error should only be thrown if there is a *defined* signature that is not-void.

* Fix other baselines to remove erroneous TS2350.
2018-08-01 13:40:55 -07:00
..
ambient
async Fix prologue order in async function 2018-06-07 13:34:16 -07:00
classes Add test 2017-11-18 11:42:56 -08:00
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 Fix class extends+decorator with new class emit 2017-06-13 13:35:53 -07:00
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 Add tests 2018-06-02 17:43:37 -07: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 In JSDoc, resolve import types as values too (#26066) 2018-07-31 11:07:06 -07:00
jsx Support LibraryManagedAttributes<TComponent, TAttributes> JSX namespace type (#24422) 2018-06-29 18:45:29 -07:00
moduleResolution Don't recommend to install '@types/foo' if that already exists (#24815) 2018-06-21 10:19:14 -07:00
parser Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
references Update Harness.compileFiles to use vfs 2017-11-09 16:01:33 -08:00
salsa Fixes #26122 - erroneous "TS2350" for js constructors called with incorrect parameters (#26124) 2018-08-01 13:40:55 -07:00
scanner
statements add grammar check for labeled declaration (#25317) 2018-07-18 15:37:27 -06:00
Symbols
types Add tests 2018-07-29 15:25:54 -07:00
typings
fixSignatureCaching.ts Lazily compute signature type predicates (#17600) 2017-12-05 08:32:34 -08:00