From 5c6df913bf31b482de8d95e86620d3ea92e678f2 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Wed, 23 Sep 2020 02:29:09 +0300 Subject: [PATCH] beforeNewThread hook type fixes --- src/hooks/beforeNewThread.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hooks/beforeNewThread.js b/src/hooks/beforeNewThread.js index e0173aa..bfde8bd 100644 --- a/src/hooks/beforeNewThread.js +++ b/src/hooks/beforeNewThread.js @@ -21,19 +21,19 @@ const Eris = require("eris"); */ /** - * @callback BeforeNewThreadHookData + * @callback BeforeNewThreadHookFn * @param {BeforeNewThreadHookData} data * @return {void|Promise} */ /** * @callback AddBeforeNewThreadHookFn - * @param {BeforeNewThreadHookData} fn + * @param {BeforeNewThreadHookFn} fn * @return {void} */ /** - * @type BeforeNewThreadHookData[] + * @type BeforeNewThreadHookFn[] */ const beforeNewThreadHooks = [];