Fix circular reference

This commit is contained in:
Will Hoskings
2020-02-20 20:24:46 +00:00
parent c18cebdff4
commit 6bb2e2342a
2 changed files with 2 additions and 3 deletions
+2
View File
@@ -22,6 +22,8 @@ import { Image_Size, Image_Formats } from '../types/cdn'
import { Permissions } from '../types/permission'
import { Member } from '../types/member'
export type Guild = ReturnType<typeof create_guild>;
export const create_guild = (data: Create_Guild_Payload, client: Client) => {
const guild = {
/** The raw create guild payload data. */
-3
View File
@@ -1,7 +1,6 @@
import { Emoji, StatusType } from './discord'
import { User } from '../structures/user'
import { Permission } from './permission'
import { create_guild } from '../structures/guild'
import { Role_Data } from './role'
import { Member_Create_Payload } from './member'
import { Activity } from './message'
@@ -449,5 +448,3 @@ export interface Presence {
premium_since?: string | null
nick?: string | null
}
export type Guild = ReturnType<typeof create_guild>