beforeNewThread hook type fixes

cshd
Dragory 2020-09-23 02:29:09 +03:00
parent f5b6e46040
commit 5c6df913bf
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 3 additions and 3 deletions

View File

@ -21,19 +21,19 @@ const Eris = require("eris");
*/ */
/** /**
* @callback BeforeNewThreadHookData * @callback BeforeNewThreadHookFn
* @param {BeforeNewThreadHookData} data * @param {BeforeNewThreadHookData} data
* @return {void|Promise<void>} * @return {void|Promise<void>}
*/ */
/** /**
* @callback AddBeforeNewThreadHookFn * @callback AddBeforeNewThreadHookFn
* @param {BeforeNewThreadHookData} fn * @param {BeforeNewThreadHookFn} fn
* @return {void} * @return {void}
*/ */
/** /**
* @type BeforeNewThreadHookData[] * @type BeforeNewThreadHookFn[]
*/ */
const beforeNewThreadHooks = []; const beforeNewThreadHooks = [];