Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 43903a0

Browse filesBrowse files
fix(UseArrayFindReturn): Missing template type (#4715)
1 parent 583e858 commit 43903a0
Copy full SHA for 43903a0

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎packages/shared/useArrayFind/index.ts

Copy file name to clipboardExpand all lines: packages/shared/useArrayFind/index.ts
+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type UseArrayFindReturn<T = any> = ComputedRef<T | undefined>
1515
export function useArrayFind<T>(
1616
list: MaybeRefOrGetter<MaybeRefOrGetter<T>[]>,
1717
fn: (element: T, index: number, array: MaybeRefOrGetter<T>[]) => boolean,
18-
): UseArrayFindReturn {
18+
): UseArrayFindReturn<T> {
1919
return computed(() =>
2020
toValue<T | undefined>(
2121
toValue(list)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.