(name: PropertyKey)
| 205 | * @internal |
| 206 | */ |
| 207 | export function formatPropertyKey(name: PropertyKey): string { |
| 208 | return typeof name === "string" ? JSON.stringify(name) : String(name) |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * Formats an array of property keys as a bracket-notation path string. |
no test coverage detected