From f7af4e8f6f8794b1e63cb6b653e82128c44074b8 Mon Sep 17 00:00:00 2001 From: Sergey Gerasimov Date: Tue, 7 Jan 2014 20:35:05 +0400 Subject: [PATCH] fixed type specs --- hashtable/hashtable-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashtable/hashtable-tests.ts b/hashtable/hashtable-tests.ts index 891d431234..9c90b5729d 100644 --- a/hashtable/hashtable-tests.ts +++ b/hashtable/hashtable-tests.ts @@ -15,7 +15,7 @@ function pointsEqual(p1: Point, p2: Point) { var coloursForPoints = new Hashtable({ hashCode: hashPoint, equals: pointsEqual }); -function getColourAt(x, y) { +function getColourAt(x: number, y: number) { var point = new Point(x, y); return coloursForPoints.get(point); }