(node: Node)
| 354 | } |
| 355 | |
| 356 | export const isStaticProperty = (node: Node): node is ObjectProperty => |
| 357 | node && |
| 358 | (node.type === 'ObjectProperty' || node.type === 'ObjectMethod') && |
| 359 | !node.computed |
| 360 | |
| 361 | export const isStaticPropertyKey = (node: Node, parent: Node): boolean => |
| 362 | isStaticProperty(parent) && parent.key === node |
no outgoing calls
no test coverage detected