TypeScript/tests/cases/conformance
Nathan Shively-Sanders 53bb4e84a2
Better checking of assignment declarations (#28387)
Previously, type checking was turned off for all assignment
declarations. This is a problem when the declarations are annotated with
jsdoc types.

This PR checks assignment declarations, *except* for expando
initialisers. Expando initialisers are

1. Empty object types.
2. Function types.
3. Class types.
4. Non-empty object types when the assignment declaration kind is
prototype assignment or module.exports assignment.
2018-11-15 08:46:11 -08:00
..
ambient
async Rename to _superIndex to test conflict 2018-10-04 08:07:42 +02:00
classes
constEnums
controlFlow Elt access assignment uses declared, not narrowed type (#27574) 2018-10-05 11:30:10 -07:00
declarationEmit Use semver ranges 2018-08-28 17:24:02 -07:00
decorators
dynamicImport
emitter
enums
es6
es7
es2017
es2018
es2019/importMeta
expressions Allow trailing void arguments to be omitted 2018-10-03 19:35:05 +01:00
externalModules
functions Add tests 2018-09-11 06:43:17 -07:00
interfaces
internalModules
jsdoc Better checking of assignment declarations (#28387) 2018-11-15 08:46:11 -08:00
jsx Obey the excludeArgument parameter when checking JSX signature validity (#28002) 2018-10-22 16:36:11 -07:00
moduleResolution Support loading "index.d.ts" using "typesVersions" without "types", "typings", or "main" (#27514) 2018-10-03 11:44:16 -07:00
parser Parse an object literal property as shorthand unless followed by '(' or ':' (#28121) 2018-10-26 15:00:31 -07:00
references
salsa Do not merge commonJS exports into an alias (#28133) 2018-10-25 15:08:06 -07:00
scanner include leading non-ASCII horizontal whitespace in SyntaxKind.WhitespaceTrivia token 2018-08-25 13:15:56 -04:00
statements
Symbols
types Add regression tests 2018-11-09 06:45:21 +01:00
typings
fixSignatureCaching.ts