(
prop: Extract<Node, { type: "Property" }>
)
| 1475 | } |
| 1476 | |
| 1477 | const isNonNullProtoProperty = ( |
| 1478 | prop: Extract<Node, { type: "Property" }> |
| 1479 | ): boolean => { |
| 1480 | if ( |
| 1481 | prop.computed || |
| 1482 | prop.kind !== "init" || |
| 1483 | propertyKeyOf(prop) !== "__proto__" |
| 1484 | ) |
| 1485 | return false |
| 1486 | const proto = unwrapExpression(prop.value) |
| 1487 | return proto.type !== "Literal" || proto.value !== null |
| 1488 | } |
| 1489 | |
| 1490 | const buildThisReadsContext = ( |
| 1491 | modules: readonly SourceModule[], |
no test coverage detected