( self: ConfigProvider.ConfigProvider.Flat, f: (path: string) => string )
| 452 | >(2, (self, f) => fromFlat(mapInputPathFlat(self.flattened, f))) |
| 453 | |
| 454 | const mapInputPathFlat = ( |
| 455 | self: ConfigProvider.ConfigProvider.Flat, |
| 456 | f: (path: string) => string |
| 457 | ): ConfigProvider.ConfigProvider.Flat => |
| 458 | makeFlat({ |
| 459 | load: (path, config, split = true) => self.load(path, config, split), |
| 460 | enumerateChildren: (path) => self.enumerateChildren(path), |
| 461 | patch: pathPatch.mapName(self.patch, f) |
| 462 | }) |
| 463 | |
| 464 | /** @internal */ |
| 465 | export const nested = dual< |
no test coverage detected