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