mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Remove empty namespace from backo2 typings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as Backoff from "backo2";
|
||||
import Backoff = require("backo2");
|
||||
|
||||
const backoff = new Backoff();
|
||||
const backoff2 = new Backoff({});
|
||||
|
||||
1
types/backo2/index.d.ts
vendored
1
types/backo2/index.d.ts
vendored
@@ -32,6 +32,5 @@ declare class Backoff {
|
||||
*/
|
||||
setJitter(jitter: number): void;
|
||||
}
|
||||
declare namespace Backoff {}
|
||||
|
||||
export = Backoff;
|
||||
|
||||
Reference in New Issue
Block a user