chore: generate
This commit is contained in:
parent
c06ad7c881
commit
537666149b
24 changed files with 826 additions and 854 deletions
|
|
@ -20,7 +20,11 @@ function formatter(id: string = runID) {
|
|||
})
|
||||
}
|
||||
|
||||
function flatten(input: Record<string, unknown>, prefix = "", seen = new WeakSet<object>()): Array<readonly [string, unknown]> {
|
||||
function flatten(
|
||||
input: Record<string, unknown>,
|
||||
prefix = "",
|
||||
seen = new WeakSet<object>(),
|
||||
): Array<readonly [string, unknown]> {
|
||||
if (seen.has(input)) return [[prefix, "[Circular]"]]
|
||||
seen.add(input)
|
||||
const entries = Object.entries(input)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue