-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 { PiniaPlugin } from './plugin'
-export {
+export type {
StateTree,
Store,
StoreDefinition,
mapState,
mapWritableState,
mapGetters,
- MapStoresCustomization,
setMapStoreSuffix,
+} from './mapHelpers'
+
+export type {
+ MapStoresCustomization,
_MapActionsObjectReturn,
_MapActionsReturn,
_MapStateObjectReturn,
{
+ "include": ["src/**/*.ts", "nuxt/*.js", "__tests__/**/*.ts", "nuxt/*.d.ts'"],
"compilerOptions": {
"allowJs": true,
"target": "esnext",
"strict": true,
"noImplicitThis": true,
"composite": true,
- "esModuleInterop": true,
"moduleResolution": "node",
+ "skipLibCheck": true,
+
+ "noUnusedLocals": true,
+ "strictNullChecks": true,
+ "noImplicitAny": true,
+ "noImplicitReturns": false,
+ "isolatedModules": true,
+
+ "experimentalDecorators": true,
+ "resolveJsonModule": true,
+ "esModuleInterop": true,
"rootDir": ".",
"baseUrl": "."
- },
- "include": ["src/**/*.ts", "nuxt/*.js", "__tests__/**/*.ts", "nuxt/*.d.ts'"]
+ }
}