diff options
Diffstat (limited to 'src/models/Channel.ts')
-rw-r--r-- | src/models/Channel.ts | 4 |
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; } |