Skip to content

Commit ef27304

Browse files
committed
don't allow runAt and runAfter
1 parent c83c170 commit ef27304

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export type SchedulerOptions =
9191
* Note: this is advisory only. It may run later.
9292
*/
9393
runAt?: number;
94+
runAfter?: never;
9495
}
9596
| {
9697
/**
@@ -99,6 +100,7 @@ export type SchedulerOptions =
99100
* Note: this is advisory only. It may run later.
100101
*/
101102
runAfter?: number;
103+
runAt?: never;
102104
};
103105

104106
export type OnCompleteArgs = {

0 commit comments

Comments
 (0)