1cedab18be
* Fix parsing of parenthesized JSDoc parameters Parenthesis can start a jsdoc function parameter since it is just a type, and parenthesis can start a type: ```js /** @type {function(((string))): void} */ ``` However, this is not legal in other parameter lists: ```ts function x((((a))): string) { } ``` This change makes jsdoc function parameter lists parse differently than normal parameter lists by allowing parenthesis as a start character of jsdoc parameters. * Parse nested uses of jsdoc function types * Fix test |
||
---|---|---|
.. | ||
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 |