The file's nodes named `name`, in `getNodesInFile` order.
(filePath: string, name: string, context: ResolutionContext)
| 329 | |
| 330 | /** The file's nodes named `name`, in `getNodesInFile` order. */ |
| 331 | function nodesInFileNamed(filePath: string, name: string, context: ResolutionContext): Node[] { |
| 332 | return context.getNodesInFileNamed?.(filePath, name) ?? context.getNodesInFile(filePath).filter((n) => n.name === name); |
| 333 | } |
| 334 | |
| 335 | /** |
| 336 | * The declaration a module default-exports: what its own `export default` |
no test coverage detected