Skip to content

Commit

Permalink
refactor(pagination): remove parent key from leaf keys in sort by PE-…
Browse files Browse the repository at this point in the history
…7428
  • Loading branch information
fedellen authored and dtfiedler committed Jan 15, 2025
1 parent 0da26f9 commit 466e8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type NestedKeys<T> = T extends object
? never // Exclude arrays
: {
[K in keyof T & string]: T[K] extends object
? `${K}.${NestedKeys<T[K]>}` | K
? `${K}.${NestedKeys<T[K]>}`
: K;
}[keyof T & string]
: never;
Expand Down

0 comments on commit 466e8f8

Please sign in to comment.