From f4b6642b73638901b9c9bac872ea6505d241e6e5 Mon Sep 17 00:00:00 2001 From: EvolutionX <85353424+EvolutionX-10@users.noreply.github.com> Date: Sat, 19 Feb 2022 20:01:10 +0530 Subject: [PATCH] chores: add back cursorsdottsx credits --- src/types/handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/handler.ts b/src/types/handler.ts index 07fca97..7484f4d 100644 --- a/src/types/handler.ts +++ b/src/types/handler.ts @@ -16,7 +16,7 @@ export type Visibility = 'private' | 'public'; export type possibleOutput = T | (MessagePayload & MessageOptions); export type Nullable = T | null; export type execute = Sern.Module['execute']; - +// Thanks @cursorsdottsx export type ParseType = { [K in keyof T]: T[K] extends unknown ? [k: K, args: T[K]] : never; }[keyof T];