Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Updatable<T>

Provides interface for update method in interactors. Should create new shallow copy of object

returns

New edited copy of T

Type parameters

  • T

    Entity type to be edited

Hierarchy

  • Updatable

Implemented by

Index

Methods

Methods

update

  • update(fieldsToUpdate: Partial<Omit<T, "id">>): T
  • Parameters

    • fieldsToUpdate: Partial<Omit<T, "id">>

    Returns T

Generated using TypeDoc