Update d3.d.ts

Gamma value k is optional per https://github.com/mbostock/d3/wiki/Colors
This commit is contained in:
Audrey
2014-05-13 16:43:52 -04:00
parent 9371c65e5a
commit 4af3ac7fae
Vendored
+1 -1
View File
@@ -1463,7 +1463,7 @@ declare module D3 {
/**
* decrease lightness by some exponential factor (gamma)
*/
darker(k: number): Color;
darker(k?: number): Color;
/**
* convert the color to a string.
*/