Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d245d15ad6 | |||
| 265837b5cd |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@extollo/lib",
|
"name": "@extollo/lib",
|
||||||
"version": "0.5.10",
|
"version": "0.5.11",
|
||||||
"description": "The framework library that lifts up your code.",
|
"description": "The framework library that lifts up your code.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -330,7 +330,7 @@ export class AsyncCollection<T> {
|
|||||||
await this.each(async (item, index) => {
|
await this.each(async (item, index) => {
|
||||||
const result = await func(item, index)
|
const result = await func(item, index)
|
||||||
if ( typeof result !== 'undefined' ) {
|
if ( typeof result !== 'undefined' ) {
|
||||||
newItems.push(result as NonNullable<T2>)
|
newItems.push(result as unknown as NonNullable<T2>)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user