Add “|” and “&” to list of tokens that start a type

This commit is contained in:
Marius Schulz
2016-11-20 10:48:03 +01:00
parent e45c5dbcea
commit cd70f22b88

View File

@@ -2556,6 +2556,8 @@ namespace ts {
case SyntaxKind.OpenBraceToken:
case SyntaxKind.OpenBracketToken:
case SyntaxKind.LessThanToken:
case SyntaxKind.BarToken:
case SyntaxKind.AmpersandToken:
case SyntaxKind.NewKeyword:
case SyntaxKind.StringLiteral:
case SyntaxKind.NumericLiteral: