Closed
Description
TypeScript Version: 2.7.1 and typescript@next (2.8.0-dev.20180206)
Code
declare class Klass<A> {
readonly value: A
constructor(value: A)
f<B extends number>(this: Klass<B>): void
}
const x = new Klass(1). // <= `f` is not suggested by intellisense
Expected behavior:
f
should be listed in intellisense as happens with typescript v2.6.2
Actual behavior:
f
doesn't show up in intellisense
Playground Link: