T
TanStack3y ago
optimistic-gold

Dealing with key value pairs

Say I have a type
type Stats = {
max: {
[key: string]: number;
};
sum: {
[key: string]: number;
};
mean: number;
};
type Stats = {
max: {
[key: string]: number;
};
sum: {
[key: string]: number;
};
mean: number;
};
Is there a way to have the value of the key be a column and the value be a column?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?