Discolink
    Preparing search index...

    Type Alias NonNullableProp<T, P>

    NonNullableProp: { [K in keyof T]: K extends P ? NonNullable<T[K]> : T[K] }

    Makes select properties non-nullable and returns the resolved type

    Type Parameters

    • T
    • P extends keyof T