mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Made pttl callback optional in Pipeline (#37706)
This commit is contained in:
committed by
Sheetal Nandi
parent
3e01dcc0e5
commit
189bd67495
Vendored
+1
-1
@@ -796,7 +796,7 @@ declare namespace IORedis {
|
||||
|
||||
ttl(key: KeyType, callback?: (err: Error, res: number) => void): Pipeline;
|
||||
|
||||
pttl(key: KeyType, callback: (err: Error, res: number) => void): Pipeline;
|
||||
pttl(key: KeyType, callback?: (err: Error, res: number) => void): Pipeline;
|
||||
|
||||
persist(key: KeyType, callback?: (err: Error, res: 0 | 1) => void): Pipeline;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user