13 lines
305 B
TypeScript
13 lines
305 B
TypeScript
import {Store} from 'vuex'
|
|
import {getModule} from 'vuex-module-decorators'
|
|
import Quiz from "~/store/quiz";
|
|
|
|
/* eslint import/no-mutable-exports: 0 */
|
|
let quizStore: Quiz;
|
|
|
|
function initialiseStores(store: Store<any>): void {
|
|
quizStore = getModule(Quiz, store);
|
|
}
|
|
|
|
export {initialiseStores, quizStore}
|