(v: unknown, i: number | string = '')
| 62 | } |
| 63 | |
| 64 | const stringifySymbol = (v: unknown, i: number | string = ''): any => |
| 65 | // Symbol.description in es2019+ so we need to cast here to pass |
| 66 | // the lib: es2016 check |
| 67 | isSymbol(v) ? `Symbol(${(v as any).description ?? i})` : v |