TypeScript/tests/cases/compiler/jsdocResolveNameFailureInTypedef.ts
Andy 9be846e1f2
Fix bug when name resolution fails in a @typedef: Don't set lastLocation (#24585)
* Fix bug when name resolution fails in a @typedef: Don't set `lastLocation`

* Add noEmit to test
2018-06-01 16:49:54 -07:00

14 lines
158 B
TypeScript

// @allowJs: true
// @checkJs: true
// @noEmit: true
// @Filename: /a.js
/**
* @param {Ty} x
*/
function f(x) {}
/**
* @typedef {CantResolveThis} Ty
*/