UNPKG
swr-vue
Version:
latest (1.9.1)
1.9.1
1.9.0
1.8.0
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
Vue composables for Data fetching
github.com/edumudu/swr-vue
edumudu/swr-vue
swr-vue
/
dist
/
types
/
config
/
global-state.d.ts
6 lines
(5 loc)
•
221 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
CacheProvider
,
CacheState
,
ScopeState
}
from
'../types'
;
/** * Holds the scope's states, isolated using cacheProvider as key */
export
declare
const
globalState
:
WeakMap
<
CacheProvider
<
CacheState
>,
ScopeState
>;