TypeScript/tests/cases/conformance
Nathan Shively-Sanders 1cedab18be
Fix parsing of parenthesized JSDoc parameters (#25799)
* 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
2018-07-19 12:50:36 -07:00
..
ambient
async Fix prologue order in async function 2018-06-07 13:34:16 -07:00
classes
constEnums
controlFlow
declarationEmit
decorators
dynamicImport Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
emitter
enums disallow nan and infinity in enum member 2018-05-04 10:28:59 +08:00
es6 Destructuring declaration prefers type annotation type (#25282) 2018-06-28 10:41:38 -07:00
es7 Allow trailing commas after-rest elements in destructuring 2018-06-04 14:58:30 -07:00
es2017
es2018
es2019/importMeta Specify ESNext module in test. 2018-04-27 18:17:49 -07:00
expressions Add tests 2018-06-02 17:43:37 -07:00
externalModules fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
functions
interfaces
internalModules
jsdoc Fix parsing of parenthesized JSDoc parameters (#25799) 2018-07-19 12:50:36 -07:00
jsx Support LibraryManagedAttributes<TComponent, TAttributes> JSX namespace type (#24422) 2018-06-29 18:45:29 -07:00
moduleResolution Don't recommend to install '@types/foo' if that already exists (#24815) 2018-06-21 10:19:14 -07:00
parser Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
references
salsa Revert the revert of explicitly typed special assignments (#25727) 2018-07-17 10:02:51 -07:00
scanner
statements add grammar check for labeled declaration (#25317) 2018-07-18 15:37:27 -06:00
Symbols
types Merge branch 'master' into genericRestArityCheck 2018-07-12 08:20:48 -10:00
typings
fixSignatureCaching.ts