From bb565b3bb464abb56c54efe7f0a837601055e218 Mon Sep 17 00:00:00 2001 From: FTWinston Date: Fri, 5 Apr 2019 14:53:24 +0100 Subject: [PATCH] Correcting error in type definition (#15) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c630c59..556080f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -7,5 +7,5 @@ export default class TinyQueue { constructor (items? : Item[], compare? : Comparator); peek () : Item; pop () : Item; - push (Item) : void; + push (item: Item) : void; }