summary refs log tree commit diff
path: root/src/models/Channel.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:41:40 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:41:40 +0100
commit775296d0048d290b959f07cde10a3ffc1430bad9 (patch)
treeb622b48450641cb044a1b3f4500306d95f748205 /src/models/Channel.ts
parent:bug: fix permission (diff)
downloadserver-775296d0048d290b959f07cde10a3ffc1430bad9.tar.xz
:bug: fix Event type
Diffstat (limited to 'src/models/Channel.ts')
-rw-r--r--src/models/Channel.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/models/Channel.ts b/src/models/Channel.ts

index 3c63f80f..57e75f26 100644 --- a/src/models/Channel.ts +++ b/src/models/Channel.ts
@@ -1,6 +1,8 @@ import { Schema, model, Types, Document } from "mongoose"; -export interface ChannelDocument extends Channel, DMChannel, TextChannel, VoiceChannel, Document { +export interface AnyChannel extends Channel, DMChannel, TextChannel, VoiceChannel {} + +export interface ChannelDocument extends Document, AnyChannel { id: bigint; }