diff --git a/app/composables/useLoginState.ts b/app/composables/useLoginState.ts index bc610d0..c3820ae 100644 --- a/app/composables/useLoginState.ts +++ b/app/composables/useLoginState.ts @@ -73,7 +73,7 @@ export const useLoginState = defineStore( persist: { key: 'xsh_assistant_persisted_state', storage: piniaPluginPersistedstate.localStorage(), - paths: ['is_logged_in', 'token', 'user'], + pick: ['is_logged_in', 'token', 'user'], }, } ) diff --git a/app/composables/useTourState.ts b/app/composables/useTourState.ts index 7eb364b..e5b9963 100644 --- a/app/composables/useTourState.ts +++ b/app/composables/useTourState.ts @@ -33,7 +33,7 @@ export const useTourState = defineStore( persist: { key: 'xsh_assistant_tour_state', storage: piniaPluginPersistedstate.localStorage(), - paths: ['tourState'], + pick: ['tourState'], }, } ) diff --git a/tsconfig.json b/tsconfig.json index b1d2f39..307b213 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,18 @@ { // https://nuxt.com/docs/guide/concepts/typescript - "extends": "./.nuxt/tsconfig.json", - "compilerOptions": { - "allowSyntheticDefaultImports": true, - "esModuleInterop": true - }, + "files": [], "references": [ { - "path": "./tsconfig.node.json" + "path": "./.nuxt/tsconfig.app.json" + }, + { + "path": "./.nuxt/tsconfig.server.json" + }, + { + "path": "./.nuxt/tsconfig.shared.json" + }, + { + "path": "./.nuxt/tsconfig.node.json" } ] }