(Found while fixing #24283) ```ts type A<T extends string> = { a: T } ``` ```js /** Also fails if template tags allow constraints * @template {string} U * @typedef {{ b: U }} B */ /** @type {A<number>} */ var a; /** @type {B<number>} */ var b; ``` **Expected behavior:** Error in both type tags: 'number' is not assignable to 'string' **Actual behavior:** No error.