TypeScript/tests/cases/conformance
Nathan Shively-Sanders e350c357d2
Alias for module.exports.x = x (#40228)
* Alias for `module.exports.x = x`

This fixes #40155 in a surprisingly small amount of code.

* Treat any aliasable expression as an alias

* test internal references to exported class
2020-09-10 11:23:48 -07:00
..
ambient Add bad test case 2019-04-24 08:44:24 -07:00
async Fix async function block return expr error in js (#37845) 2020-04-08 15:26:56 -07:00
classes fix(28516): forbid using async modifier with the abstract modifier (#39963) 2020-09-04 14:59:53 -07:00
constEnums fix compiler crash (#25925) 2019-04-25 10:51:36 -07:00
controlFlow Allow assignments to a narrowable reference to be considered narrowable 2020-07-29 16:37:25 -07:00
declarationEmit Serialize (noncontextual) keyword named namespace members with export declarations in both declaration emitters (#38982) 2020-06-10 14:42:49 -07:00
decorators Emit fallback for decorator metadata for type only imports (#39337) 2020-07-02 11:39:27 -07:00
directives don't emit "unused @ts-expect-error" in unchecked js files (#40046) 2020-08-25 11:04:23 -07:00
dynamicImport Fix parenthesization rules for yield (#37849) 2020-04-09 13:17:46 -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 The iteration type of overloaded iterator signatures derives from the intersection of their return types (#39722) 2020-07-30 11:37:04 -07:00
es7 Allow trailing commas after-rest elements in destructuring 2018-06-04 14:58:30 -07:00
es2017
es2018 add support for Lift Template Literal Restriction (#23801) 2020-02-05 08:59:51 -08:00
es2019 Fix crash when exporting+aliasing globalThis inside declare global (#34408) 2019-10-15 14:05:39 -07:00
es2020 fix export * as default syntax (#39803) 2020-08-10 16:56:45 -07:00
esnext/logicalAssignment Avoid effect of element access expression (#39174) 2020-06-25 17:38:05 -07:00
expressions Remove assignability cases in getNarrowedType + an isArray improvement for readonly arrays (#39258) 2020-09-08 14:43:48 -04:00
externalModules Leverage syntax cursor as part of reparse (#39216) 2020-06-23 17:32:58 -07:00
functions Fix regression in name resolution in parameter (#38351) 2020-05-06 12:04:28 -07:00
generators Add contextual type for generator return type (#39772) 2020-07-27 15:14:47 -07:00
interfaces getConstraintDeclaration gets the first declaration with a constraint… (#33426) 2019-09-18 13:56:24 -07:00
internalModules
jsdoc Alias for module.exports.x = x (#40228) 2020-09-10 11:23:48 -07:00
jsx reset soft with master for single commit (#38720) 2020-06-18 00:22:32 -07:00
moduleResolution Fix handling of empty 'types', 'typings', etc. fields in package.json (#31539) 2019-05-23 17:19:32 -07:00
parser fix spelling errors (#36523) 2020-01-30 13:39:54 -08:00
references
salsa Alias for module.exports.x = x (#40228) 2020-09-10 11:23:48 -07:00
scanner Add error message for keywords with escapes in them (#32718) 2019-08-12 16:00:38 -07:00
statements fix(40222): fix crash on using destructuring in a catch clause (#40240) 2020-09-08 11:49:45 -07:00
Symbols
types Template literal types and mapped type 'as' clauses (#40336) 2020-09-09 17:23:22 -10: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