type PartialItemType<Fields, PrimaryKey>: Pick<ItemType<Fields>, PrimaryKey> & Partial<Omit<ItemType<Fields>, PrimaryKey>>;
Just like ItemType, but the fields not part of the primary key can be undefined.
Type parameter |
---|
Fields extends FieldsStructure |
PrimaryKey extends keyof Fields |