obliterator
Advanced tools
Comparing version 1.6.0 to 1.6.1
{ | ||
"name": "obliterator", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Higher order iterator library for JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,3 @@ [![Build Status](https://travis-ci.org/Yomguithereal/obliterator.svg)](https://travis-ci.org/Yomguithereal/obliterator) | ||
Obliterator is a dead simple JavaScript library providing miscellaneous higher-order iterator functions such as combining two or more iterators into a single one. | ||
Obliterator is a dead simple JavaScript/TypeScript library providing miscellaneous higher-order iterator functions such as combining two or more iterators into a single one. | ||
@@ -14,2 +14,4 @@ # Installation | ||
Note `obliterator` comes along with its TypeScript declarations. | ||
# Usage | ||
@@ -16,0 +18,0 @@ |
import {default as ObliteratorIterator} from './iterator.js'; | ||
export default function takeInto<C, T>(ArrayClass: C, iterator: Iterator<T>, n: number): C<T>; | ||
// Requires a resolution of https://github.com/microsoft/TypeScript/issues/1213 | ||
// export default function takeInto<C<~>, T>(ArrayClass: new <T>(n: number) => C<T>, iterator: Iterator<T>, n: number): C<T>; | ||
export default function takeInto<T>(ArrayClass: new <T>(arrayLength: number) => T[], iterator: Iterator<T>, n: number): T[]; |
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
29668
750
322