()
| 34130 | return finishNode(factory.createInferTypeNode(parseTypeParameterOfInferType()), pos); |
| 34131 | } |
| 34132 | function parseTypeOperatorOrHigher() { |
| 34133 | var operator = token(); |
| 34134 | switch (operator) { |
| 34135 | case 140 /* SyntaxKind.KeyOfKeyword */: |
| 34136 | case 154 /* SyntaxKind.UniqueKeyword */: |
| 34137 | case 145 /* SyntaxKind.ReadonlyKeyword */: |
| 34138 | return parseTypeOperator(operator); |
| 34139 | case 137 /* SyntaxKind.InferKeyword */: |
| 34140 | return parseInferType(); |
| 34141 | } |
| 34142 | return allowConditionalTypesAnd(parsePostfixTypeOrHigher); |
| 34143 | } |
| 34144 | function parseFunctionOrConstructorTypeToError(isInUnionType) { |
| 34145 | // the function type and constructor type shorthand notation |
| 34146 | // are not allowed directly in unions and intersections, but we'll |
no test coverage detected