Skip to content

Commit

Permalink
Add Date to DateMath type (#2208)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Mock <[email protected]>
(cherry picked from commit 768ba3d)
  • Loading branch information
ramikg authored and github-actions[bot] committed Apr 18, 2024
1 parent 8d92539 commit 389e07a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ export type DataStreamNames = DataStreamName | DataStreamName[]

export type DateFormat = string

export type DateMath = string
export type DateMath = string | Date

export type DateTime = string | EpochTime<UnitMillis>

Expand Down
2 changes: 1 addition & 1 deletion src/api/typesWithBodyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ export type DataStreamNames = DataStreamName | DataStreamName[]

export type DateFormat = string

export type DateMath = string
export type DateMath = string | Date

export type DateTime = string | EpochTime<UnitMillis>

Expand Down

0 comments on commit 389e07a

Please sign in to comment.