Skip to content

Commit

Permalink
Changed type for EmbedBase.timestamp
Browse files Browse the repository at this point in the history
Type should by `string | Date` in order to allow for doing `timestamp: new Date()`
  • Loading branch information
oathompsonjones committed Dec 2, 2019
1 parent 9eee8ed commit 7b16edf
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;
timestamp?: string | 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 7b16edf

Please sign in to comment.