-export {
- setActivePinia,
- createPinia,
- Pinia,
- PiniaStorePlugin,
- PiniaPluginContext,
-} from './rootStore'
+export { setActivePinia, createPinia } from './rootStore'
+export type { Pinia, PiniaStorePlugin, PiniaPluginContext } from './rootStore'
+
export { defineStore } from './store'
-export {
+
+export type {
StateTree,
Store,
GenericStore,
mapState,
mapWritableState,
mapGetters,
- MapStoresCustomization,
setMapStoreSuffix,
+} from './mapHelpers'
+
+export type {
+ MapStoresCustomization,
_MapActionsObjectReturn,
_MapActionsReturn,
_MapStateObjectReturn,
{
- "include": [
- "src/global.d.ts",
- "src/**/*.ts",
- "__tests__/**/*.ts"
- ],
+ "include": ["src/global.d.ts", "src/**/*.ts", "__tests__/**/*.ts"],
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
"module": "esnext",
"moduleResolution": "node",
"allowJs": false,
+ "skipLibCheck": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"noImplicitThis": true,
"noImplicitReturns": false,
"strict": true,
- "isolatedModules": false,
+ "isolatedModules": true,
"experimentalDecorators": true,
"resolveJsonModule": true,