From 5baff09c03591e52821c036d502c46ccac507760 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Mon, 21 Mar 2022 17:27:53 -0500 Subject: [PATCH] feat(types) added util type Override --- src/types/handler.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/handler.ts b/src/types/handler.ts index 4cbe230..1644a64 100644 --- a/src/types/handler.ts +++ b/src/types/handler.ts @@ -25,3 +25,7 @@ export type DiscordEvent = ParseType< { [K in keyof ClientEvents ] : (...args : ClientEvents[K]) => Awaitable }>; export type SlashOptions = Omit; + +//https://dev.to/vborodulin/ts-how-to-override-properties-with-type-intersection-554l +export type Override = Omit & T2; +