Comparing version 1.0.2 to 1.0.3
@@ -5,6 +5,6 @@ export = length; | ||
* | ||
* @param {AsyncIterable<object>} iterator | ||
* @param {AsyncIterable<any> | Iterable<any>} iterator | ||
* @returns {Promise<number>} | ||
*/ | ||
declare function length(iterator: AsyncIterable<object>): Promise<number>; | ||
declare function length(iterator: AsyncIterable<any> | Iterable<any>): Promise<number>; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,3 +6,3 @@ 'use strict' | ||
* | ||
* @param {AsyncIterable<object>} iterator | ||
* @param {AsyncIterable<any> | Iterable<any>} iterator | ||
* @returns {Promise<number>} | ||
@@ -9,0 +9,0 @@ */ |
{ | ||
"name": "it-length", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Counts the number of items in an async iterable", | ||
@@ -27,3 +27,4 @@ "main": "index.js", | ||
}, | ||
"types": "dist/index.d.ts" | ||
"types": "dist/index.d.ts", | ||
"gitHead": "330c93a7d2dffca1ce29031ac5f19aac39a0f1f9" | ||
} |
Sorry, the diff of this file is not supported yet
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
2866