mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +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
@@ -991,7 +991,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
const VolumeMixin: <T>(base: Constructable<T>) => Constructable<T & VolumeInterface>;
|
const VolumeMixin: <T>(base: Constructable<T>) => Constructable<T & VolumeInterface>;
|
||||||
|
|||||||
Reference in New Issue
Block a user