Skip to content

Commit

Permalink
Add update overload for (key, value)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheyan committed Apr 19, 2024
1 parent f0bd370 commit d75640e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ export type EntityDynamicPropertiesOfType<T> = {

export interface EntityBasePropertiesOfType<T> {
meta: ObjectMetaOfType<T>;
update(property: string, value?: any): Promise<void>;
update(args: EntityArgsOfType<T>): Promise<void>;
readonly accessed: EventSubscriber<Entity, EntityAccessEventArgsForType<T>>;
readonly changed: EventSubscriber<Entity, EntityChangeEventArgsForType<T>>;
Expand Down

0 comments on commit d75640e

Please sign in to comment.