Skip to content

Commit

Permalink
fix(Typings): Fix BitField toJSON/valueOf return types (#5806)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasdennnoch authored Jun 11, 2021
1 parent 5fb6c0d commit 935f819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 935f819

Please sign in to comment.