Type Alias TypeObject<TDesc>

TypeObject<TDesc>: {
    -readonly [K in Exclude<keyof TDesc, OptionalKey<TDesc>>]: ValueType<TDesc[K]>
} & {
    -readonly [K in keyof TDesc]?: ValueType<TDesc[K]>
} & {
    id: string;
}

Converts a IndexedStorage definition of a specific type to the typing an object would have that is returned as an output on function calls.

Type Parameters