mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
types(discord-rpc): update types for {start,end}Timestamp (#43833)
startTimestamp & endTimestamp supports both Date & number
This commit is contained in:
parent
f8797c8d40
commit
7cdf68a2b3
5
types/discord-rpc/index.d.ts
vendored
5
types/discord-rpc/index.d.ts
vendored
@ -3,6 +3,7 @@
|
||||
// Definitions by: Jason Bothell <https://github.com/jasonhaxstuff>
|
||||
// Jack Baron <https://github.com/lolPants>
|
||||
// Dylan Hackworth <https://github.com/dylhack>
|
||||
// Sankarsan Kampa <https://github.com/k3rn31p4nic>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import { EventEmitter } from 'events';
|
||||
@ -186,8 +187,8 @@ export interface VoiceSettings {
|
||||
export interface Presence {
|
||||
state?: string;
|
||||
details?: string;
|
||||
startTimestamp?: number;
|
||||
endTimestamp?: number;
|
||||
startTimestamp?: number | Date;
|
||||
endTimestamp?: number | Date;
|
||||
largeImageKey?: string;
|
||||
largeImageText?: string;
|
||||
smallImageKey?: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user