Jacob Simon
09/02/2021, 3:40 AMtype Map<T> = {
[P in keyof T]: T[P]
}
type test3 = Map<PrismaModel>
I would expect nullable properties to be nullable in the mapped result, but they're not. If I copy and paste the type definition into my types file and use the Map<T> type then the nullable properties remain nullable. Am I missing something here?