Skip to content

Commit

Permalink
add undefined type
Browse files Browse the repository at this point in the history
Signed-off-by: MregXN <[email protected]>
  • Loading branch information
MregXN committed Nov 21, 2023
1 parent b078445 commit f485b55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actors/runtime/AbstractActor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ export default abstract class AbstractActor {
async registerActorReminder<_Type>(
reminderName: string,
dueTime: Temporal.Duration,
period?: Temporal.Duration,
ttl?: Temporal.Duration,
period?: Temporal.Duration|undefined,
ttl?: Temporal.Duration|undefined,
state?: any,
) {
await this.actorClient.actor.registerActorReminder(this.actorType, this.id, reminderName, {
period,
dueTime,
data: state,
ttl,
data: state,
});
}

Expand Down

0 comments on commit f485b55

Please sign in to comment.