UNPKG
@userfrosting/sprinkle-core
Version:
beta (6.0.0-beta.7)
latest (6.0.0)
next (6.0.0-rc.5)
rc (6.0.0-rc.4)
6.0.0
6.0.0-rc.5
6.0.0-rc.4
6.0.0-rc.3
6.0.0-rc.2
6.0.0-rc.1
6.0.0-beta.8
6.0.0-beta.7
6.0.0-beta.6
6.0.0-beta.5
6.0.0-beta.4
6.0.0-beta.3
6.0.0-beta.2
6.0.0-beta.1
6.0.0-alpha.6
6.0.0-alpha.5
6.0.0-alpha.4
6.0.0-alpha.3
6.0.0-alpha.2
6.0.0-alpha.1
Core Sprinkle for UserFrosting
github.com/userfrosting/sprinkle-core
userfrosting/sprinkle-core
@userfrosting/sprinkle-core
/
dist
/
stores
/
useConfigStore.d.ts
12 lines
(11 loc)
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
declare
const
useConfigStore
:
import
(
'pinia'
).
StoreDefinition
<
"config"
, {
config
: {}; }, {
get
:
(
state
: { config: {}; } &
import
(
'pinia'
).
PiniaCustomStateProperties
<{ config: {}; }>
) =>
(
key
:
string
,
value
?:
any
) =>
any
; }, {
load
():
Promise
<
void
>; }>;