KeyedAll beta
TypeAlias of @v12-engine/client
ts
export type KeyedAll<K extends string, V> = string extends K ? Record<string, V> : {
[P in K]: V;
};The same, with every id there: one left out does not compile either