mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Correct failing build.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
}
|
||||
|
||||
|
||||
var fill = d3.scale.category20();
|
||||
var fill = d3.scale.category20<number>();
|
||||
d3.layout.cloud().size([300, 300])
|
||||
.words([
|
||||
"Hello", "world", "normally", "you", "want", "more", "words",
|
||||
@@ -40,4 +40,4 @@
|
||||
return "translate(" + [d.x, d.y] + ")rotate(" + d.rotate + ")";
|
||||
})
|
||||
.text(function(d:ICompTextSize) { return d.text; });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user