Skip to content

Commit 7ff9f08

Browse files
authored
refactor: startedBefore and startedAfter types (#764)
After testing the changes, I realized that TS yells when I pass the dates as Date object. This PR fixes types. This PR updates types of `startedBefore` and `startedAfter`.
1 parent 9835630 commit 7ff9f08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resource_clients/run_collection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ export interface RunCollectionListOptions {
4848
status?:
4949
| (typeof ACTOR_JOB_STATUSES)[keyof typeof ACTOR_JOB_STATUSES]
5050
| (typeof ACTOR_JOB_STATUSES)[keyof typeof ACTOR_JOB_STATUSES][];
51-
startedBefore?: string;
52-
startedAfter?: string;
51+
startedBefore?: Date | string;
52+
startedAfter?: Date | string;
5353
}

0 commit comments

Comments
 (0)