mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-06 06:49:29 -05:00
do not consider keywords tokens for compleation reasons, to allow completion on this and super
This commit is contained in:
@@ -1734,8 +1734,7 @@ module ts {
|
||||
}
|
||||
|
||||
function isToken(kind: SyntaxKind) {
|
||||
return (SyntaxKind.FirstPunctuation <= kind && kind <= SyntaxKind.LastPunctuation) ||
|
||||
(SyntaxKind.FirstKeyword <= kind && kind <= SyntaxKind.LastKeyword);
|
||||
return (SyntaxKind.FirstPunctuation <= kind && kind <= SyntaxKind.LastPunctuation);
|
||||
}
|
||||
|
||||
synchronizeHostData();
|
||||
|
||||
Reference in New Issue
Block a user