Skip to content

Commit

Permalink
feat: add date datatype (#1906)
Browse files Browse the repository at this point in the history
* feat: add date datatype

* chore: update allowed datatypes

* chore: address review comment
  • Loading branch information
MoumitaM authored Nov 4, 2024
1 parent b71c44a commit 9c207f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/analytics-js-service-worker/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ export interface ApiObject {
| boolean
| undefined
| ApiObject
| unknown
| (string | number | boolean | ApiObject)[];
| Date
| null
| (string | number | boolean | ApiObject | Date | null | undefined)[];
}

/**
Expand Down

0 comments on commit 9c207f1

Please sign in to comment.