Skip to content

Commit be18391

Browse files
export types
1 parent 4c64933 commit be18391

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pinia-scope",
33
"type": "module",
4-
"version": "1.7.1",
4+
"version": "1.7.2",
55
"packageManager": "[email protected]",
66
"description": "Scoped Pinia Stores for Vue",
77
"author": {

src/index.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1+
export type {
2+
ScopeableStoreOptions,
3+
ScopeableStoreOptionsCreator,
4+
StoreCreatorContext,
5+
ScopeableStoreResult,
6+
StoreCreator,
7+
StoreDef,
8+
} from './functions/defineScopeableStore'
9+
export type { NonScopeContext } from './functions/defineNonScopeableStore'
10+
export type { ScopeOptions, ScopeOptionsInput } from './scope-options'
11+
112
export { getStoreInfo, getStoreUnscopedId, getStoreScope } from './functions/getStoreInfo'
2-
export { defineScopeableStore, type StoreCreatorContext } from './functions/defineScopeableStore'
13+
export { defineScopeableStore } from './functions/defineScopeableStore'
314
export { defineNonScopeableStore } from './functions/defineNonScopeableStore'
415
export { getComponentScope } from './functions/getComponentScope'
516
export { setComponentScope } from './functions/setComponentScope'
@@ -14,5 +25,3 @@ export {
1425
disposeAndClearStateOfPiniaScope,
1526
eachStoreOfPiniaScope,
1627
} from './pinia-scope'
17-
18-
export { type ScopeOptions } from './scope-options'

0 commit comments

Comments
 (0)