UNPKG
@ssh-uppy/store-default
Version:
latest (1.2.1)
1.2.1
The default simple object-based store for Uppy.
uppy.io
sergii-akimov-silsh/uppy
@ssh-uppy/store-default
/
types
/
index.d.ts
12 lines
(9 loc)
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
UppyUtils
=
require
(
'@uppy/utils'
)
declare
class
DefaultStore
implements
UppyUtils
.
Store
{
constructor
(
)
getState
():
object
setState
(
patch
:
object
):
void
subscribe
(
listener
:
any
):
() =>
void
}
declare
function
createDefaultStore
(
):
DefaultStore
export
= createDefaultStore