More typings

This commit is contained in:
Daniel Lugo 2022-01-17 13:23:23 -04:00
parent e6c048ddf4
commit 17c9ebd577

View file

@ -2535,7 +2535,9 @@ module.exports = async (
* @type {import('winston').QueryOptions}
*/
const options = {
from: new Date() - 1 * 60 * 60 * 1000,
// @ts-expect-error Winston's typings don't account for supporting
// numbers here.
from: (new Date()).valueOf() - 1 * 60 * 60 * 1000,
until: new Date()
}