mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
This seems to work today, not sure what I was seeing yesterday.
This commit is contained in:
@@ -2986,8 +2986,7 @@ module ts {
|
||||
|| containingNodeKind === SyntaxKind.Constructor // constructor( |
|
||||
|| containingNodeKind === SyntaxKind.NewExpression // new C(a|
|
||||
|| containingNodeKind === SyntaxKind.ParenthesizedExpression // let x = (a|
|
||||
|| containingNodeKind === SyntaxKind.ParenthesizedType // function F(pred: (a|
|
||||
|| containingNodeKind == SyntaxKind.FunctionType; // function F(pred: (a| // todo: figure out why fourslash and the IDE don't agree on node kind here
|
||||
|| containingNodeKind === SyntaxKind.ParenthesizedType; // function F(pred: (a
|
||||
|
||||
case SyntaxKind.ColonToken:
|
||||
return containingNodeKind === SyntaxKind.Parameter; // function F(pred: a|
|
||||
|
||||
Reference in New Issue
Block a user