(...args: Array<any>)
| 13450 | return cache.get(prop) |
| 13451 | } |
| 13452 | const fn = (...args: Array<any>) => |
| 13453 | core.andThen(target, (s: any) => { |
| 13454 | if (typeof s[prop] === "function") { |
| 13455 | cache.set(prop, (...args: Array<any>) => core.andThen(target, (s: any) => s[prop](...args))) |
| 13456 | return s[prop](...args) |
| 13457 | } |
| 13458 | cache.set(prop, core.andThen(target, (s: any) => s[prop])) |
| 13459 | return s[prop] |
| 13460 | }) |
| 13461 | const cn = core.andThen(target, (s: any) => s[prop]) |
| 13462 | // @effect-diagnostics-next-line floatingEffect:off |
| 13463 | Object.assign(fn, cn) |
no test coverage detected