typings(SnowflakeUtil): add optional "timestamp" parameter to generate (#2998)

This commit is contained in:
Lucas Kellar
2018-12-23 16:16:28 -06:00
committed by SpaceEEC
parent 73aaab5106
commit 8b602ebed4

2
typings/index.d.ts vendored
View File

@@ -1178,7 +1178,7 @@ declare module 'discord.js' {
export class SnowflakeUtil {
public static deconstruct(snowflake: Snowflake): DeconstructedSnowflake;
public static generate(): Snowflake;
public static generate(timestamp?: number | Date): Snowflake;
}
export class StreamDispatcher extends VolumeInterface {