1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 12:42:44 +01:00

🐛 fix Permissions type declaration

This commit is contained in:
Flam3rboy 2021-02-14 00:32:24 +01:00
parent 8e84d39c7f
commit 35285fa993
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { ChannelPermissionOverwrite } from "../models/Channel"; import { ChannelPermissionOverwrite } from "../models/Channel";
import { Role } from "../models/Role"; import { Role } from "../models/Role";
import { BitField } from "./BitField"; import { BitField } from "./BitField";
export declare type PermissionResolvable = string | number | Permissions | PermissionResolvable[]; export declare type PermissionResolvable = bigint | number | Permissions | PermissionResolvable[];
export declare class Permissions extends BitField { export declare class Permissions extends BitField {
static FLAGS: { static FLAGS: {
CREATE_INSTANT_INVITE: bigint; CREATE_INSTANT_INVITE: bigint;

View File

@ -6,7 +6,7 @@ import { ChannelPermissionOverwrite } from "../models/Channel";
import { Role, RoleModel } from "../models/Role"; import { Role, RoleModel } from "../models/Role";
import { BitField } from "./BitField"; import { BitField } from "./BitField";
export type PermissionResolvable = string | number | Permissions | PermissionResolvable[]; export type PermissionResolvable = bigint | number | Permissions | PermissionResolvable[];
export class Permissions extends BitField { export class Permissions extends BitField {
static FLAGS = { static FLAGS = {