collectNames<
TRecords
>(...namesList
):UnionToIntersection
<TRecords
[number
]>
collect names for schemas
• TRecords extends Record
<string
, object
>[]
• ...namesList: TRecords
names to collect
UnionToIntersection
<TRecords
[number
]>
namesRecord
packages/core/src/schema/weaver-context.ts:218