( keys: Keys, value: Value )
| 972 | * @since 4.0.0 |
| 973 | */ |
| 974 | export function Record<const Keys extends ReadonlyArray<string | symbol>, Value>( |
| 975 | keys: Keys, |
| 976 | value: Value |
| 977 | ): Record<Keys[number], Value> { |
| 978 | const out: any = {} |
| 979 | for (const key of keys) { |
| 980 | InternalRecord.assignProperty(out, key, value) |
| 981 | } |
| 982 | return out |
| 983 | } |
nothing calls this directly
no outgoing calls
no test coverage detected