Type Alias: RecordType<T>
ts
type RecordType<T> = Record<string, T>;RecordType is a type that represents an object with string keys and values of type T, where T is a subtype of ValueType.
This type is used to define the structure of key-value pairs.
Type Parameters
T
T extends ValueType
The type of the values in the record.
Example
ts
await cache.resetWith({ family: [{ name: "John" }, { name: "Jane" }] });