(
obj: any,
inspectFn: (depth: number, opts: any) => {},
)
| 184 | const custom = Symbol.for('nodejs.util.inspect.custom'); |
| 185 | |
| 186 | function defineCustomInspect( |
| 187 | obj: any, |
| 188 | inspectFn: (depth: number, opts: any) => {}, |
| 189 | ) { |
| 190 | obj[custom] = inspectFn; |
| 191 | } |
no outgoing calls
no test coverage detected