typings on intervals/autoRelease.ts

merge-requests/12/head
Matthew 2020-05-06 19:34:00 -04:00 committed by Bsian
parent 0a55962e28
commit 586f7cfce0
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import { Client } from '../class';
let interval: NodeJS.Timeout; let interval: NodeJS.Timeout;
export default function checkLock(client: Client) { export default function checkLock(client: Client): NodeJS.Timeout {
interval = setInterval(async () => { interval = setInterval(async () => {
try { try {
const moderations = await client.db.moderation.find(); const moderations = await client.db.moderation.find();