fixed type specs

This commit is contained in:
Sergey Gerasimov
2014-01-07 20:35:05 +04:00
parent 568c40002e
commit f7af4e8f6f
+1 -1
View File
@@ -15,7 +15,7 @@ function pointsEqual(p1: Point, p2: Point) {
var coloursForPoints = new Hashtable<Point, string>({ hashCode: hashPoint, equals: pointsEqual });
function getColourAt(x, y) {
function getColourAt(x: number, y: number) {
var point = new Point(x, y);
return coloursForPoints.get(point);
}