From 0e8356e9b1acd95be5b94f0e55bba9d749a36d12 Mon Sep 17 00:00:00 2001 From: afeuerstein <32029275+afeuerstein@users.noreply.github.com> Date: Tue, 6 Apr 2021 21:32:44 +0200 Subject: remove compiled typescript code from repo --- dist/util/BitField.d.ts | 66 ------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 dist/util/BitField.d.ts (limited to 'dist/util/BitField.d.ts') diff --git a/dist/util/BitField.d.ts b/dist/util/BitField.d.ts deleted file mode 100644 index 1b08c1f8..00000000 --- a/dist/util/BitField.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -export declare type BitFieldResolvable = number | BigInt | BitField | string | BitFieldResolvable[]; -/** - * Data structure that makes it easy to interact with a bitfield. - */ -export declare class BitField { - bitfield: bigint; - static FLAGS: Record; - constructor(bits?: BitFieldResolvable); - /** - * Checks whether the bitfield has a bit, or any of multiple bits. - */ - any(bit: BitFieldResolvable): boolean; - /** - * Checks if this bitfield equals another - */ - equals(bit: BitFieldResolvable): boolean; - /** - * Checks whether the bitfield has a bit, or multiple bits. - */ - has(bit: BitFieldResolvable): boolean; - /** - * Gets all given bits that are missing from the bitfield. - */ - missing(bits: BitFieldResolvable): BitFieldResolvable[]; - /** - * Freezes these bits, making them immutable. - */ - freeze(): Readonly; - /** - * Adds bits to these ones. - * @param {...BitFieldResolvable} [bits] Bits to add - * @returns {BitField} These bits or new BitField if the instance is frozen. - */ - add(...bits: BitFieldResolvable[]): BitField; - /** - * Removes bits from these. - * @param {...BitFieldResolvable} [bits] Bits to remove - */ - remove(...bits: BitFieldResolvable[]): BitField; - /** - * Gets an object mapping field names to a {@link boolean} indicating whether the - * bit is available. - * @param {...*} hasParams Additional parameters for the has method, if any - */ - serialize(): Record; - /** - * Gets an {@link Array} of bitfield names based on the bits available. - */ - toArray(): string[]; - toJSON(): bigint; - valueOf(): bigint; - [Symbol.iterator](): Generator; - /** - * Data that can be resolved to give a bitfield. This can be: - * * A bit number (this can be a number literal or a value taken from {@link BitField.FLAGS}) - * * An instance of BitField - * * An Array of BitFieldResolvable - * @typedef {number|BitField|BitFieldResolvable[]} BitFieldResolvable - */ - /** - * Resolves bitfields to their numeric form. - * @param {BitFieldResolvable} [bit=0] - bit(s) to resolve - * @returns {number} - */ - static resolve(bit?: BitFieldResolvable): bigint; -} -- cgit 1.5.1