Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Commit

Permalink
typings: Augment the discord.js client instead of the klasa one
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu authored and kyranet committed Nov 6, 2019
1 parent dac56d2 commit b8503a9
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,17 @@ declare module 'klasa-member-gateway' {
}

}

declare module 'klasa' {

namespace Client {
export let defaultMemberSchema: Schema;
}

}

declare module 'discord.js' {

import { Settings } from 'klasa';
import { Schema, Settings } from 'klasa';

export interface GuildMember {
settings: Settings;
}

export namespace Client {
export let defaultMemberSchema: Schema;
}

}

0 comments on commit b8503a9

Please sign in to comment.