UNPKG
syncbasestore
Version:
latest (0.1.0)
0.1.0
Lightweight reactive store with built-in filtering and async state handling
syncbasestore
/
dist
/
store
/
filterUtil.d.ts
3 lines
(2 loc)
•
172 B
TypeScript
View Raw
1
2
3
import
{
FilterDefinition
,
FilterShape
}
from
'./types'
; export declare
function
applyFilter
<
T
>
(
data
:
T
,
filterDef
?
:
FilterDefinition
<
T
>
,
filterValue
?
:
FilterShape
<
T
>
)
:
T
;