mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Update d3.d.ts
Gamma value k is optional per https://github.com/mbostock/d3/wiki/Colors
This commit is contained in:
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