typings on intervals/autoRelease.ts

merge-requests/11/merge
Matthew 2020-05-06 19:34:00 -04:00
parent a1463e6821
commit bbcab1f570
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
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();