From 199f1c84babd3879b4c78c38efd45d3a2376a8b0 Mon Sep 17 00:00:00 2001 From: MatthieuCoder Date: Thu, 5 Jan 2023 03:55:08 +0400 Subject: [PATCH] typo --- src/sys/events/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys/events/client.ts b/src/sys/events/client.ts index 44de1f9..bad8203 100644 --- a/src/sys/events/client.ts +++ b/src/sys/events/client.ts @@ -11,7 +11,7 @@ import {API} from '@discordjs/core'; import {Transport, type TransportOptions} from './transport'; /** - * Maps an event name (O['t']) and a Union O and extracts alla the union members that have a matching O['t'] + * Maps an event name (O['t']) and a Union O and extracts all the union members that have a matching O['t'] * Example: * type Variant1 = { t: 'type1', myProperty: 1 }; * type Variant2 = { t: 'type2', anotherProperty: 2 }; @@ -132,7 +132,7 @@ export class Client extends undefinedClient { return self[symbol as string]; }, }); - + this.transport = new Transport(self, options.transport); // This is safe because this event is emitted by the EventEmitter itself. -- 2.39.5