7cda045d52
* Always export typedefs This actually just required deleting a check in declareModuleMembers and checking for external AND commonjs modules in a couple of places. However, while experimenting with this feature, I discovered that even previously-exported typedefs would only be exported if they came after a commonjs export node. So I added a commonjs check to the pass in the parser. It will not catch nested module.exports, but it will catch top-level assignments. The new test tests both changes. * Post-bind typedef instead of pre-checking for commonjs * Duplicate identifier errors * Fix class type reference resolution+update baselines * Move to a type-based check for duplicate identifiers |
||
---|---|---|
.. | ||
ambient | ||
async | ||
classes | ||
constEnums | ||
controlFlow | ||
declarationEmit | ||
decorators | ||
dynamicImport | ||
emitter | ||
enums | ||
es6 | ||
es7 | ||
es2017 | ||
es2018 | ||
es2019/importMeta | ||
expressions | ||
externalModules | ||
functions | ||
interfaces | ||
internalModules | ||
jsdoc | ||
jsx | ||
moduleResolution | ||
parser | ||
references | ||
salsa | ||
scanner | ||
statements | ||
Symbols | ||
types | ||
typings | ||
fixSignatureCaching.ts |