File size: 103 Bytes
3d330e9 |
1 2 3 4 |
export function typedKeys<K extends string>(x: Record<K, any>): K[] {
return Object.keys(x) as K[];
}
|
3d330e9 |
1 2 3 4 |
export function typedKeys<K extends string>(x: Record<K, any>): K[] {
return Object.keys(x) as K[];
}
|