(cfg: unknown)
| 32 | |
| 33 | // oxfmt-ignore |
| 34 | const configFinder = (cfg: unknown) => { |
| 35 | return typeof cfg === 'object' && cfg !== null && ('contextName' in cfg ? cfg.contextName === contextName : contextName === 'default'); |
| 36 | }; |
| 37 | |
| 38 | const isValidConfigFactoryResult = (cfg: unknown) => { |
| 39 | return typeof cfg === 'object' && cfg !== null && (!('contextName' in cfg) || cfg.contextName === contextName); |
no outgoing calls
no test coverage detected