# Bug Report Is this working as intended? ### π Search Terms infer with extends ### π Version & Regression Information New feature in 4.7.0 ### β― Playground Link [Playground link with relevant code](https://www.typescriptlang.org/play?ts=4.7.0-dev.20220408#code/C4TwDgpgBAZg9nKBeKAiALAJlVCAPYCAOwBMBnKAAwBIBvASyJggCcoAVXA48qIgVwC2AI1YBfSlAD8HKAC4+EAG6sgA) ### π» Code ```ts type foo = "42" extends `${infer T extends number}` ? T : never ``` ### π Actual behavior Type of `foo` is inferred as `number`. ### π Expected behavior Type of `foo` is inferred as `42`.