Skip to content

Commit c926106

Browse files
committed
refactor(unrefs): never -> unknow type
1 parent b50bfc6 commit c926106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export type UnRefArrayItem<T extends any[]> = { [K in keyof T]: UnRef<T[K]> };
3838
* @param arr
3939
*/
4040
export function unrefs<T extends any[]>(
41-
arr: FullRefArrayItem<T> | ComputedRef<T> | never[],
41+
arr: FullRefArrayItem<T> | ComputedRef<T> | unknown[],
4242
): UnRefArrayItem<T> {
4343
if (arr && Array.isArray(arr)) {
4444
return arr.map((a) => unref(a)) as UnRefArrayItem<T>;

0 commit comments

Comments
 (0)