* Fix error on duplicate commonjs exports Previously, the code missed setting the parent pointer for the lhs access expression. Also add declaration emit of element access expressions, missed in my previous PR. * Switch to excludes=None, add test case CommonJS exports have None excludes, but still have an error issued by the checker. This is the previous behaviour even though it would be nice to add some exclusions.
10 lines
275 B
TypeScript
10 lines
275 B
TypeScript
// @declaration: true
|
|
// @checkJs: true
|
|
// @filename: moduleExportAliasElementAccessExpression.js
|
|
// @outdir: out
|
|
|
|
function D () { }
|
|
exports["D"] = D;
|
|
// (the only package I could find that uses spaces in identifiers is webidl-conversions)
|
|
exports["Does not work yet"] = D;
|