-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDesign LimitationConstraints of the existing architecture prevent this from being fixedConstraints of the existing architecture prevent this from being fixed
Milestone
Description
As asked by @mhegazy in #11929 this issue is for tracking language services for the new keyof
type.
I hope this will surface in the language services like Find references and Rename?
function pluck<T, K extends keyof T>(xs: T[], prop: K): T[K][];
class Thing { name: string; }
// Is this found when looking for references to Thing.name?
// Does renaming Thing.name to firstName update the string?
let x = pluck(things, "name");
pelotom, niieani, tinganho, yortus, Peter-Juhasz and 13 more
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDesign LimitationConstraints of the existing architecture prevent this from being fixedConstraints of the existing architecture prevent this from being fixed