We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4bda4 commit 5b6aeb7Copy full SHA for 5b6aeb7
packages/types/src/analytics/utils.ts
@@ -5,5 +5,6 @@ export type Union2Obj<U extends string> = {
5
export type Obj2Tuple<O extends {}> = {} extends O
6
? []
7
: {
8
+ // @ts-ignore
9
[key in keyof O]: [key, ...Obj2Tuple<O[key]>];
10
}[keyof O];
0 commit comments