Skip to content

Documentation / @imvu/rest / DateMapped

Type Alias: DateMapped<T> ​

ts
type DateMapped<T> = { [K in keyof T]: K extends `${string}_datetime` ? Date : T[K] extends object ? DateMapped<T[K]> : T[K] };

Defined in: packages/rest/src/types.ts:88

Type Parameters ​

Type Parameter
T extends Record<string, any>

Released under the MIT License.