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:
parent
439b6b7bfb
commit
f4110e0a72
5 changed files with 1124 additions and 1051 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue