From 60ace9a2d4cd2844a862f03f33d3be81b56f352b Mon Sep 17 00:00:00 2001 From: Tiemen Date: Sat, 7 Aug 2021 01:59:03 +0200 Subject: [PATCH] types(Util): fix cleanContent parameter type (#6321) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index a7ae47407..3f1b43fb8 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1855,7 +1855,7 @@ export class Util extends null { public static archivedThreadSweepFilter(lifetime?: number): SweepFilter; public static basename(path: string, ext?: string): string; public static binaryToId(num: string): Snowflake; - public static cleanContent(str: string, channel: Channel): string; + public static cleanContent(str: string, channel: TextBasedChannels): string; public static removeMentions(str: string): string; public static cloneObject(obj: unknown): unknown; public static delayFor(ms: number): Promise;