Skip to content

Commit d81634c

Browse files
committed
chore: wip
1 parent 24531d1 commit d81634c

File tree

2 files changed

+440
-392
lines changed

2 files changed

+440
-392
lines changed

storage/framework/core/collections/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1949,7 +1949,7 @@ function SymbolIterator() {
19491949
}
19501950
}
19511951

1952-
export const collect = <T extends object>(collection?: T | T[] | Collection<T>): Collection<T> =>
1952+
export const collect = <T extends object | number>(collection?: T | T[] | Collection<T>): Collection<T> =>
19531953
new Collection<T>(collection)
19541954

19551955
export default collect

0 commit comments

Comments
 (0)