(path)
| 232 | } |
| 233 | }, |
| 234 | ObjectPattern(path) { |
| 235 | const { node } = path; |
| 236 | if (node.typeAnnotation) { |
| 237 | attachComment({ |
| 238 | ofPath: path.get("typeAnnotation"), |
| 239 | toPath: path, |
| 240 | optional: |
| 241 | node.optional || |
| 242 | // @ts-expect-error Fixme: optional is not in t.TypeAnnotation |
| 243 | node.typeAnnotation.optional, |
| 244 | }); |
| 245 | } |
| 246 | }, |
| 247 | |
| 248 | Flow( |
| 249 | path: NodePath< |
nothing calls this directly
no test coverage detected