mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Update d3.d.ts
Gamma value k is optional per https://github.com/mbostock/d3/wiki/Colors
This commit is contained in:
1 parent
9371c65e5a
commit
4af3ac7fae
1 file changed
+1
-1
Vendored
+1
-1
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user