From bbcab1f570b48d8f1fdabed16d93ab6602f62c90 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 6 May 2020 19:34:00 -0400 Subject: [PATCH] typings on intervals/autoRelease.ts --- src/intervals/autoRelease.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intervals/autoRelease.ts b/src/intervals/autoRelease.ts index f115d0b..f54c874 100644 --- a/src/intervals/autoRelease.ts +++ b/src/intervals/autoRelease.ts @@ -2,7 +2,7 @@ import { Client } from '../class'; let interval: NodeJS.Timeout; -export default function checkLock(client: Client) { +export default function checkLock(client: Client): NodeJS.Timeout { interval = setInterval(async () => { try { const moderations = await client.db.moderation.find();