[Backport 8.14] Add Date to DateMath type (#2232)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
(cherry picked from commit 768ba3d8ae)
Co-authored-by: Rami <72725910+ramikg@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8d92539292
commit
3e74c3efc4
@ -2044,7 +2044,7 @@ export type DataStreamNames = DataStreamName | DataStreamName[]
|
|||||||
|
|
||||||
export type DateFormat = string
|
export type DateFormat = string
|
||||||
|
|
||||||
export type DateMath = string
|
export type DateMath = string | Date
|
||||||
|
|
||||||
export type DateTime = string | EpochTime<UnitMillis>
|
export type DateTime = string | EpochTime<UnitMillis>
|
||||||
|
|
||||||
|
|||||||
@ -2117,7 +2117,7 @@ export type DataStreamNames = DataStreamName | DataStreamName[]
|
|||||||
|
|
||||||
export type DateFormat = string
|
export type DateFormat = string
|
||||||
|
|
||||||
export type DateMath = string
|
export type DateMath = string | Date
|
||||||
|
|
||||||
export type DateTime = string | EpochTime<UnitMillis>
|
export type DateTime = string | EpochTime<UnitMillis>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user