The file's nodes named `name`, in `getNodesInFile` order.
(filePath: string, name: string, context: ResolutionContext)
| 345 | |
| 346 | /** The file's nodes named `name`, in `getNodesInFile` order. */ |
| 347 | function nodesInFileNamed(filePath: string, name: string, context: ResolutionContext): Node[] { |
| 348 | return context.getNodesInFileNamed?.(filePath, name) ?? context.getNodesInFile(filePath).filter((n) => n.name === name); |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * The declaration a module default-exports: what its own `export default` |
no test coverage detected