mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-28 16:27:55 -05:00
fix: move generic to function parameter position
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user