Skip to content

Commit c4d0fc3

Browse files
committed
fix: move generic to function parameter position
1 parent 19bc4af commit c4d0fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/stores/modals/search/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ export interface SearchModalState {
8282
/**
8383
* Initialize search data. Called once on app load.
8484
*/
85-
initializeData: <T extends { type: string }>(filterBlocks: (blocks: T[]) => T[]) => void
85+
initializeData: (filterBlocks: <T extends { type: string }>(blocks: T[]) => T[]) => void
8686
}

0 commit comments

Comments
 (0)