Skip to content

Instantly share code, notes, and snippets.

View TrayHard's full-sized avatar
🔍
Looking for work

Poliakov Ilia TrayHard

🔍
Looking for work
View GitHub Profile
import { createStore } from 'vuex';
// The modules to import
import auth, { Store as AuthStore, State as AuthState } from './auth';
import counter, { Store as CounterStore, State as CounterState } from './counter';
// A State type with all the submodules
type State = {
auth: AuthState;
counter: CounterState;