mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Remove OmittedType
This commit is contained in:
1 parent
464f2a0745
commit
628fa4c7b2
1 file changed
+1
-1
@@ -2356,7 +2356,7 @@ module ts {
|
||||
var errorStart = scanner.getTokenPos();
|
||||
var errorLength = scanner.getTextPos() - errorStart;
|
||||
grammarErrorAtPos(errorStart, errorLength, Diagnostics.Type_expected);
|
||||
return createNode(SyntaxKind.OmittedType);
|
||||
return createNode(SyntaxKind.Missing);
|
||||
}
|
||||
|
||||
return parseType();
|
||||
|
||||
Reference in new issue
Block a user