-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
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:
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issueA PR has been merged for this issue