### π Search Terms - must be a type predicate ### π Version & Regression Information - This is a crash - This changed between versions 5.4.5 and 5.5.0-dev.20240415 ### β― Playground Link https://www.typescriptlang.org/play?ts=5.5.0-dev.20240415#code/JYOwLgpgTgZghgYwgAgGIHt3IN4CgCQwAzhugBQAeAXMnCAJ4CUNYAFsch6QNy4C+uXKEixEKAEJwoyCBUggAJkTSYcBYqUo06TFlACuEXsj5A ### π» Code ```ts interface Foo { isFoo(x: any): this is Foo; } interface Bar extends Foo { isFoo(x: any): true; } ``` ### π Actual behavior In bar, see: ``` Signature '(x: any): true' must be a type predicate ``` ### π Expected behavior No error ### Additional information about the issue Encountering this in the VS Code repo. Seems like an unexpected regression
π Search Terms
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play?ts=5.5.0-dev.20240415#code/JYOwLgpgTgZghgYwgAgGIHt3IN4CgCQwAzhugBQAeAXMnCAJ4CUNYAFsch6QNy4C+uXKEixEKAEJwoyCBUggAJkTSYcBYqUo06TFlACuEXsj5A
π» Code
π Actual behavior
In bar, see:
π Expected behavior
No error
Additional information about the issue
Encountering this in the VS Code repo. Seems like an unexpected regression