TypeScript/tests/cases/compiler/jsdocCallbackAndType.ts
Eli Barzilay ec95c27b4d
Fix getSignatureOfTypeTag (#37473)
Prevents infinite looping as in #37265.

Fixes #37265
2020-03-19 19:02:39 -04:00

14 lines
155 B
TypeScript

// @allowJs: true
// @checkJs: true
// @noEmit: true
// @Filename: /a.js
/**
* @template T
* @callback B
*/
/** @type {B<string>} */
let b;
b();
b(1);