(path: NodePath<any>)
| 33 | } |
| 34 | |
| 35 | export function getMessageDescriptorKey(path: NodePath<any>): string { |
| 36 | if (path.isIdentifier() || path.isJSXIdentifier()) { |
| 37 | return path.node.name |
| 38 | } |
| 39 | |
| 40 | return evaluatePath(path) |
| 41 | } |
| 42 | |
| 43 | function getMessageDescriptorValue( |
| 44 | path?: |
no test coverage detected