mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
fix(Typings): Fix BitField toJSON/valueOf return types (#5806)
This commit is contained in:
committed by
GitHub
parent
5fb6c0dd14
commit
935f819207
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -287,8 +287,8 @@ declare module 'discord.js' {
|
||||
public remove(...bits: BitFieldResolvable<S, N>[]): BitField<S, N>;
|
||||
public serialize(...hasParam: readonly unknown[]): Record<S, boolean>;
|
||||
public toArray(...hasParam: readonly unknown[]): S[];
|
||||
public toJSON(): number;
|
||||
public valueOf(): number;
|
||||
public toJSON(): N extends number ? number : string;
|
||||
public valueOf(): N;
|
||||
public [Symbol.iterator](): IterableIterator<S>;
|
||||
public static FLAGS: unknown;
|
||||
public static resolve(bit?: BitFieldResolvable<any, number | bigint>): number | bigint;
|
||||
|
||||
Reference in New Issue
Block a user