Skip to content

Commit e570c61

Browse files
committed
Fix date types
1 parent 14a8e16 commit e570c61

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dist/src/common.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export declare type VideoUploadResponse = {
1010
readonly public: boolean;
1111
readonly panoramic: boolean;
1212
readonly mp4Support: boolean;
13-
readonly publishedAt: string;
14-
readonly createdAt: string;
15-
readonly uploadedAt: string;
13+
readonly publishedAt: Date;
14+
readonly createdAt: Date;
15+
readonly uploadedAt: Date;
1616
readonly tags: readonly string[];
1717
readonly metadata: readonly {
1818
readonly key: string;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export type VideoUploadResponse = {
1111
readonly public: boolean;
1212
readonly panoramic: boolean;
1313
readonly mp4Support: boolean;
14-
readonly publishedAt: string;
15-
readonly createdAt: string;
16-
readonly uploadedAt: string;
14+
readonly publishedAt: Date;
15+
readonly createdAt: Date;
16+
readonly uploadedAt: Date;
1717
readonly tags: readonly string[];
1818
readonly metadata: readonly {
1919
readonly key: string;

0 commit comments

Comments
 (0)