fix: move generic to function parameter position

This commit is contained in:
waleed
2026-01-28 00:57:53 -08:00
parent 19bc4afcc9
commit c4d0fc31cc

View File

@@ -82,5 +82,5 @@ export interface SearchModalState {
/**
* Initialize search data. Called once on app load.
*/
initializeData: <T extends { type: string }>(filterBlocks: (blocks: T[]) => T[]) => void
initializeData: (filterBlocks: <T extends { type: string }>(blocks: T[]) => T[]) => void
}