Skip to content

Commit

Permalink
Correction to previous type change.
Browse files Browse the repository at this point in the history
`timestamp`s do not work with `string`s at all, the data type must be `Date`
  • Loading branch information
oathompsonjones committed Dec 2, 2019
1 parent 7b16edf commit 4f32289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -316,7 +316,7 @@ declare namespace Eris {
title?: string;
description?: string;
url?: string;
timestamp?: string | Date;
timestamp?: Date;
color?: number;
footer?: { text: string; icon_url?: string; proxy_icon_url?: string };
image?: { url?: string; proxy_url?: string; height?: number; width?: number };
Expand Down

0 comments on commit 4f32289

Please sign in to comment.