TypeScript/tests/cases/compiler/jsdocParameterParsingInfiniteLoop.ts
Wesley Wigham 5b77ef8b4d Fix infinite loop in jsdoc parsing (#17420)
* Test case

* Move parameter fix to apply to jsdoc (and all lists)

* Inline function, generalize comment
2017-07-26 10:12:59 -07:00

9 lines
139 B
TypeScript

// @filename: example.js
// @checkJs: true
// @allowJs: true
// @noEmit: true
// @ts-check
/**
* @type {function(@foo)}
*/
let x;