diff --git a/src/lib/structures/Provider.ts b/src/lib/structures/Provider.ts index e4df364e9..6c5e601cd 100644 --- a/src/lib/structures/Provider.ts +++ b/src/lib/structures/Provider.ts @@ -13,6 +13,7 @@ export interface ProviderEvents { connected: (client?: any) => void; } +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export declare interface Provider { on( event: U, @@ -32,6 +33,7 @@ export declare interface Provider { delete(...args): Promise | any; } +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export class Provider extends EventEmitter { init() { Util.throwError('Init method is not implemented!', this.constructor.name); diff --git a/src/lib/util/logger/Logger.ts b/src/lib/util/logger/Logger.ts index 254867d9b..74dc94119 100644 --- a/src/lib/util/logger/Logger.ts +++ b/src/lib/util/logger/Logger.ts @@ -129,6 +129,7 @@ export interface LoggerEvents { } /* eslint-enable max-len */ +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export declare interface ILogger { on(event: U, listener: LoggerEvents[U]): this; @@ -223,6 +224,7 @@ export type LogMethods = | 'timeEnd' | 'error'; +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export class ILogger extends EventEmitter { public TRACE: LogLevel.TRACE; public DEBUG: LogLevel.DEBUG; diff --git a/src/providers/LruCacheProvider.ts b/src/providers/LruCacheProvider.ts index 4484dba05..094947b52 100644 --- a/src/providers/LruCacheProvider.ts +++ b/src/providers/LruCacheProvider.ts @@ -3,7 +3,9 @@ import { Provider, ProviderTypes } from '../lib/structures/Provider'; import { Logger } from '../lib/util/logger/Logger'; export class LruCacheProvider< + // eslint-disable-next-line @typescript-eslint/ban-types K extends {}, + // eslint-disable-next-line @typescript-eslint/ban-types V extends {}, FC = unknown, > extends Provider {