Remove OmittedType

This commit is contained in:
Jason Freeman 2014-10-02 14:39:10 -07:00
parent 464f2a0745
commit 628fa4c7b2

View File

@ -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();