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:
parent
8e84d39c7f
commit
35285fa993
2
dist/util/Permissions.d.ts
vendored
2
dist/util/Permissions.d.ts
vendored
@ -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;
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user