mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
fix q-retry/q-retry-tests.ts
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/// <reference path="./q-retry.d.ts" />
|
||||
|
||||
import Q = require('q-retry');
|
||||
|
||||
Q
|
||||
@@ -9,7 +11,7 @@ Q
|
||||
return 0;
|
||||
})
|
||||
.retry(num => {
|
||||
num.toFixed;
|
||||
num.toFixed;
|
||||
})
|
||||
.retry(() => {
|
||||
|
||||
@@ -32,8 +34,8 @@ Q
|
||||
limit: 10,
|
||||
interval: 1000,
|
||||
maxInterval: 20000,
|
||||
intervalMultiplier: 1.5
|
||||
intervalMultiplier: 1.5
|
||||
})
|
||||
.then(str => {
|
||||
str.charAt;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user