(node, checkMode)
| 79614 | getWidenedLiteralLikeTypeForContextualType(type, instantiateContextualType(arguments.length === 2 ? getContextualType(node) : contextualType, node)); |
| 79615 | } |
| 79616 | function checkPropertyAssignment(node, checkMode) { |
| 79617 | // Do not use hasDynamicName here, because that returns false for well known symbols. |
| 79618 | // We want to perform checkComputedPropertyName for all computed properties, including |
| 79619 | // well known symbols. |
| 79620 | if (node.name.kind === 162 /* SyntaxKind.ComputedPropertyName */) { |
| 79621 | checkComputedPropertyName(node.name); |
| 79622 | } |
| 79623 | return checkExpressionForMutableLocation(node.initializer, checkMode); |
| 79624 | } |
| 79625 | function checkObjectLiteralMethod(node, checkMode) { |
| 79626 | // Grammar checking |
| 79627 | checkGrammarMethod(node); |
no test coverage detected
searching dependent graphs…