我无法使Redis api在typescript 中成为promisifyAll。 import. ... promisifyAll(redis); const client: RedisClient = redis.createClient(CacheConfig);
確定! 回上一頁