TypeScript/tests/cases/conformance
Nathan Shively-Sanders e379aeb151
Fix alias of module.exports->exports->IIFE (#27992)
In JS, when you assign `module.exports = exports` and the entire module is
wrapped in an IIFE, the resulting `export=` symbol, after following
aliases, is the module itself. This results in trying to merge the
file's exports with itself inside `getCommonJsExportEquals`, since it
thinks that it has found new exports, possibly in an object literal,
that need to be merged with the file's exports.

For example:

```js
(function() {
exports.a = 1
module.exports = exports
})()
```
2018-10-19 13:50:38 -07: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 Add getEffectiveConstructSignatures (#27561) 2018-10-15 12:47:57 -07:00
jsx Unify JSX And Normal Call Checking Codepaths (#27627) 2018-10-16 20:16:00 -04:00
moduleResolution Support loading "index.d.ts" using "typesVersions" without "types", "typings", or "main" (#27514) 2018-10-03 11:44:16 -07:00
parser
references
salsa Fix alias of module.exports->exports->IIFE (#27992) 2018-10-19 13:50:38 -07:00
scanner include leading non-ASCII horizontal whitespace in SyntaxKind.WhitespaceTrivia token 2018-08-25 13:15:56 -04:00
statements
Symbols
types Merge pull request #27911 from Microsoft/fixCircularMappedType 2018-10-15 15:51:31 -07:00
typings
fixSignatureCaching.ts