-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Design LimitationConstraints of the existing architecture prevent this from being fixedConstraints of the existing architecture prevent this from being fixedSuggestionAn idea for TypeScriptAn idea for TypeScriptWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix itThe severity and priority of this issue do not warrant the time or complexity needed to fix it
Milestone
Description
here is my code
export enum SortDir
{
Asc,
Desc,
Flip
}
export interface ISortInfo
{
getvalue(x: QuerySummary): any; //change to number|string in TypeScript 1.4
order: SortDir;
ordercalc?: number;
}
class SortByQueryId implements ISortInfo
{
getvalue = x => x.QueryId;
order = SortDir.Flip;
}
when I type "x." I expect to see the properties of QuerySummary but I do not. VS still thinks the type is 'any'
Metadata
Metadata
Assignees
Labels
Design LimitationConstraints of the existing architecture prevent this from being fixedConstraints of the existing architecture prevent this from being fixedSuggestionAn idea for TypeScriptAn idea for TypeScriptWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix itThe severity and priority of this issue do not warrant the time or complexity needed to fix it