chore: fix typescript tests (v13) (#8628)

This commit is contained in:
Almeida
2022-09-15 19:21:15 +01:00
committed by GitHub
parent fcd52d7fc6
commit 8f94a9ca2f

1
typings/index.d.ts vendored
View File

@@ -1627,6 +1627,7 @@ export class MessageActionRow<
? APIActionRowComponent<APIModalActionRowComponent>
: APIActionRowComponent<APIMessageActionRowComponent>,
> extends BaseMessageComponent {
// tslint:disable-next-line:ban-ts-ignore
// @ts-ignore (TS:2344, Caused by TypeScript 4.8)
// Fixed in DiscordJS >= 14.x / DiscordApiTypes >= 0.37.x, ignoring the type error here.
public constructor(data?: MessageActionRow<T> | MessageActionRowOptions<U> | V);