MCPcopy Index your code
hub / github.com/nodejs/node / checkObjectLiteralAssignment

Function checkObjectLiteralAssignment

test/fixtures/snapshot/typescript.js:78663–78672  ·  view source on GitHub ↗
(node, sourceType, rightIsThis)

Source from the content-addressed store, hash-verified

78661 return booleanType;
78662 }
78663 function checkObjectLiteralAssignment(node, sourceType, rightIsThis) {
78664 var properties = node.properties;
78665 if (strictNullChecks && properties.length === 0) {
78666 return checkNonNullType(sourceType, node);
78667 }
78668 for (var i = 0; i < properties.length; i++) {
78669 checkObjectLiteralDestructuringPropertyAssignment(node, sourceType, i, properties, rightIsThis);
78670 }
78671 return sourceType;
78672 }
78673 /** Note: If property cannot be a SpreadAssignment, then allProperties does not need to be provided */
78674 function checkObjectLiteralDestructuringPropertyAssignment(node, objectLiteralType, propertyIndex, allProperties, rightIsThis) {
78675 if (rightIsThis === void 0) { rightIsThis = false; }

Callers 1

Tested by

no test coverage detected