mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
typings(SnowflakeUtil): add optional "timestamp" parameter to generate (#2998)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -1178,7 +1178,7 @@ declare module 'discord.js' {
|
|||||||
|
|
||||||
export class SnowflakeUtil {
|
export class SnowflakeUtil {
|
||||||
public static deconstruct(snowflake: Snowflake): DeconstructedSnowflake;
|
public static deconstruct(snowflake: Snowflake): DeconstructedSnowflake;
|
||||||
public static generate(): Snowflake;
|
public static generate(timestamp?: number | Date): Snowflake;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class StreamDispatcher extends VolumeInterface {
|
export class StreamDispatcher extends VolumeInterface {
|
||||||
|
|||||||
Reference in New Issue
Block a user