mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
fixed type specs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user