just-flatten-it
Advanced tools
Comparing version 3.2.0 to 4.0.0
type RecursiveList<T> = (T | T[] | RecursiveList<T>)[]; | ||
declare function flatten<T>(list: RecursiveList<T>, depth? : number): T[]; | ||
export = flatten; | ||
export default flatten; |
@@ -1,2 +0,2 @@ | ||
import flatten = require('./index'); | ||
import flatten from './index' | ||
@@ -3,0 +3,0 @@ // OK |
{ | ||
"name": "just-flatten-it", | ||
"version": "3.2.0", | ||
"version": "4.0.0", | ||
"description": "return a flattened array", | ||
@@ -22,2 +22,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package