More typings
This commit is contained in:
parent
e6c048ddf4
commit
17c9ebd577
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue