mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-29 08:48:02 -05:00
fix: correct filterBlocks type signature
This commit is contained in:
@@ -82,5 +82,5 @@ export interface SearchModalState {
|
||||
/**
|
||||
* Initialize search data. Called once on app load.
|
||||
*/
|
||||
initializeData: (filterBlocks: (blocks: unknown[]) => unknown[]) => void
|
||||
initializeData: <T extends { type: string }>(filterBlocks: (blocks: T[]) => T[]) => void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user