1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Update server dependencies

This commit is contained in:
Chocobozzz 2022-03-21 14:20:47 +01:00
parent 439b6b7bfb
commit f4110e0a72
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 1124 additions and 1051 deletions

View file

@ -1,4 +1,4 @@
import { createClient, RedisClientOptions, RedisModules } from 'redis'
import { createClient, RedisClientOptions, RedisModules, RedisScripts } from 'redis'
import { exists } from '@server/helpers/custom-validators/misc'
import { sha256 } from '@shared/extra-utils'
import { logger } from '../helpers/logger'
@ -18,7 +18,7 @@ import {
// Only used for typings
// TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed
const redisClientWrapperForType = () => createClient<{}>()
const redisClientWrapperForType = () => createClient<{}, RedisScripts>()
class Redis {