diff --git a/client/src/store/modules/schools.ts b/client/src/store/modules/schools.ts index 029a65e..46e4615 100644 --- a/client/src/store/modules/schools.ts +++ b/client/src/store/modules/schools.ts @@ -4,7 +4,11 @@ import { Module } from 'vuex'; import ISchool from '@/models/school'; import config from '@/config'; -const schools: Module<{ schools: ISchool[] }, any> = { +export interface IStoreSchools { + schools: ISchool[]; +} + +const schools: Module = { namespaced: false, state: { schools: [],