( self: ConfigProvider.ConfigProvider.Flat, f: (path: string) => string )
| 473 | >(2, (self, f) => fromFlat(mapInputPathFlat(self.flattened, f))) |
| 474 | |
| 475 | const mapInputPathFlat = ( |
| 476 | self: ConfigProvider.ConfigProvider.Flat, |
| 477 | f: (path: string) => string |
| 478 | ): ConfigProvider.ConfigProvider.Flat => |
| 479 | makeFlat({ |
| 480 | load: (path, config, split = true) => self.load(path, config, split), |
| 481 | enumerateChildren: (path) => self.enumerateChildren(path), |
| 482 | patch: pathPatch.mapName(self.patch, f) |
| 483 | }) |
| 484 | |
| 485 | /** @internal */ |
| 486 | export const nested = dual< |
no test coverage detected