Skip to content

Commit 74521bc

Browse files
committed
tweak type
1 parent 21a0dd0 commit 74521bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crank.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function arrayify<T>(
2828
: typeof value === "string" ||
2929
typeof (value as any)[Symbol.iterator] !== "function"
3030
? [value as T]
31-
: [...(value as any)];
31+
: [...(value as NonStringIterable<T>)];
3232
}
3333

3434
function isIteratorLike(

0 commit comments

Comments
 (0)