Get quickInfo from a contextual type if possible (#18119)

This commit is contained in:
Andy authored and GitHub committed 2017-09-07 07:22:39 -07:00
1 parent 8c714c3651
commit 0434fe797a
6 files changed
+56 -28

No files matched your search

+3
View File
@@ -744,6 +744,7 @@ namespace ts {
;
export interface PropertyAssignment extends ObjectLiteralElement {
parent: ObjectLiteralExpression;
kind: SyntaxKind.PropertyAssignment;
name: PropertyName;
questionToken?: QuestionToken;
@@ -751,6 +752,7 @@ namespace ts {
}
export interface ShorthandPropertyAssignment extends ObjectLiteralElement {
parent: ObjectLiteralExpression;
kind: SyntaxKind.ShorthandPropertyAssignment;
name: Identifier;
questionToken?: QuestionToken;
@@ -761,6 +763,7 @@ namespace ts {
}
export interface SpreadAssignment extends ObjectLiteralElement {
parent: ObjectLiteralExpression;
kind: SyntaxKind.SpreadAssignment;
expression: Expression;
}