ml-array-variance
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -29,2 +29,2 @@ import isArray from 'is-any-array'; | ||
export default variance; | ||
export { variance as default }; |
@@ -0,0 +0,0 @@ 'use strict'; |
{ | ||
"name": "ml-array-variance", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Get the variance in an array", | ||
@@ -29,3 +29,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "d06a16075e582be7b7c553cd1aecbe1d03c64b7a" | ||
"gitHead": "207c5e6e1486b2d22fdfec7b7a3b6867fe50a69e" | ||
} |
@@ -0,0 +0,0 @@ # array-variance |
@@ -0,0 +0,0 @@ import variance from '..'; |
@@ -0,0 +0,0 @@ import isArray from 'is-any-array'; |
@@ -1,2 +0,2 @@ | ||
declare module 'ml-array-variance' { | ||
declare namespace arrayVariance { | ||
export interface ArrayVarianceOptions { | ||
@@ -13,11 +13,12 @@ /** | ||
} | ||
} | ||
/** | ||
* Computes the variance of the given values. | ||
*/ | ||
function arrayVariance( | ||
array: ArrayLike<number>, | ||
options?: ArrayVarianceOptions, | ||
): number; | ||
export = arrayVariance; | ||
} | ||
/** | ||
* Computes the variance of the given values. | ||
*/ | ||
declare function arrayVariance( | ||
array: ArrayLike<number>, | ||
options?: arrayVariance.ArrayVarianceOptions, | ||
): number; | ||
export = arrayVariance; |
Sorry, the diff of this file is not supported yet
5697
8