mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
feat(SnowflakeUtil): add timestampFrom (#7058)
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1976,6 +1976,7 @@ export class SnowflakeUtil extends null {
|
||||
private constructor();
|
||||
public static deconstruct(snowflake: Snowflake): DeconstructedSnowflake;
|
||||
public static generate(timestamp?: number | Date): Snowflake;
|
||||
public static timestampFrom(snowflake: Snowflake): number;
|
||||
public static readonly EPOCH: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user