diff --git a/index.d.ts b/index.d.ts index 556080f..775498e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,5 +1,5 @@ export declare type Item = any; -export declare type Comparator = (a: Item, b: Item) => -1 | 0 | 1; +export declare type Comparator = (a: Item, b: Item) => number; export default class TinyQueue { public data : Item[];