Skip to content

Commit f485b55

Browse files
committed
add undefined type
Signed-off-by: MregXN <[email protected]>
1 parent b078445 commit f485b55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/actors/runtime/AbstractActor.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ export default abstract class AbstractActor {
9595
async registerActorReminder<_Type>(
9696
reminderName: string,
9797
dueTime: Temporal.Duration,
98-
period?: Temporal.Duration,
99-
ttl?: Temporal.Duration,
98+
period?: Temporal.Duration|undefined,
99+
ttl?: Temporal.Duration|undefined,
100100
state?: any,
101101
) {
102102
await this.actorClient.actor.registerActorReminder(this.actorType, this.id, reminderName, {
103103
period,
104104
dueTime,
105-
data: state,
106105
ttl,
106+
data: state,
107107
});
108108
}
109109

0 commit comments

Comments
 (0)