We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b50bfc6 commit c926106Copy full SHA for c926106
src/utils.ts
@@ -38,7 +38,7 @@ export type UnRefArrayItem<T extends any[]> = { [K in keyof T]: UnRef<T[K]> };
38
* @param arr
39
*/
40
export function unrefs<T extends any[]>(
41
- arr: FullRefArrayItem<T> | ComputedRef<T> | never[],
+ arr: FullRefArrayItem<T> | ComputedRef<T> | unknown[],
42
): UnRefArrayItem<T> {
43
if (arr && Array.isArray(arr)) {
44
return arr.map((a) => unref(a)) as UnRefArrayItem<T>;
0 commit comments