Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 492 Bytes

paratype.propertytypes.md

File metadata and controls

17 lines (11 loc) · 492 Bytes

Home > paratype > PropertyTypes

PropertyTypes type

Maps properties to their corresponding run-time types

Signature:

export declare type PropertyTypes<T extends Record<string, unknown>> = {
    [P in keyof T]-?: Type<Exclude<T[P], undefined>>;
};

References: Type