prorm API Reference
    Preparing search index...

    Type Alias PartialBy<T, K>

    PartialBy: Omit<T, K> & Partial<Pick<T, K>>

    PartialBy - Constructs a type with all properties of T except those in K set to optional.

    Type Parameters

    • T
    • K extends keyof T
    type UserCreationAttributes = PartialBy<UserAttributes, 'id'>;
    // { id?: number, name: string, email: string }