mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix implicit error
This commit is contained in:
parent
5ec5db5e07
commit
7f0d226ee1
@ -3,8 +3,8 @@
|
||||
|
||||
// Inspired by http://bl.ocks.org/mbostock/4061502
|
||||
|
||||
function iqr(k) {
|
||||
return function(d) {
|
||||
function iqr(k: number) {
|
||||
return function(d: any) {
|
||||
var q1 = d.quartiles[0],
|
||||
q3 = d.quartiles[2],
|
||||
iqr = (q3 - q1) * k;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user