* Fix bug when name resolution fails in a @typedef: Don't set `lastLocation` * Add noEmit to test
14 lines
158 B
TypeScript
14 lines
158 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// @Filename: /a.js
|
|
/**
|
|
* @param {Ty} x
|
|
*/
|
|
function f(x) {}
|
|
|
|
/**
|
|
* @typedef {CantResolveThis} Ty
|
|
*/
|