From f062a338687be4b3ac64c048a63bdcb895282d2d Mon Sep 17 00:00:00 2001 From: jacoobes Date: Mon, 14 Feb 2022 13:12:39 -0600 Subject: [PATCH] fix(handler.ts): added the changes of Module.execute to type delegate (now type execute) --- package.json | 2 +- src/types/handler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6643226..4f4df6a 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "lint": "eslint src/**/*.ts", "format": "eslint src/**/*.ts --fix", "release": "standard-version && git push --follow-tags", - "commit" : "cz" + "commit": "cz" }, "keywords": [], "author": "", diff --git a/src/types/handler.ts b/src/types/handler.ts index 0a79e85..ccd818a 100644 --- a/src/types/handler.ts +++ b/src/types/handler.ts @@ -14,7 +14,7 @@ export type Visibility = 'private' | 'public'; // Anything that can be sent in a `#send` or `#reply` export type possibleOutput = T | (MessagePayload & MessageOptions); export type Nullable = T | null; -export type delegate = Sern.Module['delegate']; +export type execute = Sern.Module['execute']; // Thanks @cursorsdottsx export type ParseType = {