(length: number, fn: F)
| 1214 | } |
| 1215 | |
| 1216 | const defineFunctionLength = <F extends Function>(length: number, fn: F): F => |
| 1217 | Object.defineProperty(fn, "length", { |
| 1218 | value: length, |
| 1219 | configurable: true |
| 1220 | }) |
| 1221 | |
| 1222 | const fnStackCleaner = makeStackCleaner(2) |
| 1223 |
no outgoing calls
no test coverage detected