From 0d09dd594830b85197efba0a90ee4087e82ba8fa Mon Sep 17 00:00:00 2001 From: Jason Freeman Date: Thu, 19 Feb 2015 16:43:28 -0800 Subject: [PATCH] Make LastToken point to OfKeyword --- src/compiler/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index b396a0673aa..0133c83c422 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -142,7 +142,7 @@ module ts { StringKeyword, SymbolKeyword, TypeKeyword, - OfKeyword, + OfKeyword, // LastKeyword and LastToken // Parse tree nodes // Names @@ -269,7 +269,7 @@ module ts { FirstPunctuation = OpenBraceToken, LastPunctuation = CaretEqualsToken, FirstToken = Unknown, - LastToken = TypeKeyword, + LastToken = OfKeyword, FirstTriviaToken = SingleLineCommentTrivia, LastTriviaToken = ConflictMarkerTrivia, FirstLiteralToken = NumericLiteral,