Skip to main content

AsType<T>

AsType<T> = T extends object ? { [Key in keyof T]: T[Key] } : T

Type Parameters

T

T