TypeScript/tests/cases/conformance
Nathan Shively-Sanders 29ca93ba48
Classes can extend Javascript constructor functions (#26452)
* Classes can extend JS constructor functions

Now ES6 classes can extend ES5 constructor functions, although only
those written in a JS file.

Note that the static side assignability is checked. I need to write
tests to make sure that instance side assignability is checked too.
I haven't tested generic constructor functions yet either.

* Test static+instance assignability errors+generics

Note that generics do not work.

* Cleanup from PR comments

* Even more cleanup

* Update case of function name
2018-08-14 14:43:04 -07:00
..
ambient
async Fix prologue order in async function 2018-06-07 13:34:16 -07:00
classes
constEnums
controlFlow
declarationEmit
decorators
dynamicImport Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
emitter
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
es2018
es2019/importMeta Specify ESNext module in test. 2018-04-27 18:17:49 -07:00
expressions Have getAssignmentReducedType use the comparable relation instead of 2018-08-01 23:26:17 -04:00
externalModules fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
functions
interfaces
internalModules
jsdoc Fixes #26128 - signature comp for jsdoc @class. (#26160) 2018-08-14 13:35:51 -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 Classes can extend Javascript constructor functions (#26452) 2018-08-14 14:43:04 -07:00
scanner
statements add grammar check for labeled declaration (#25317) 2018-07-18 15:37:27 -06:00
Symbols
types Don't include class getter in spread type (#26287) 2018-08-09 15:34:29 -07:00
typings
fixSignatureCaching.ts