Skip to content

Instantly share code, notes, and snippets.

View Joseff361's full-sized avatar

Jose Fernandez Figueroa Joseff361

  • Lima, Peru.
View GitHub Profile
@Klerith
Klerith / index.ts
Last active August 23, 2024 21:46
Vuex + TypeScript - Store Structure Strongly Typed
import { createStore } from 'vuex';
// My custom modules
import exampleModule from './module-template';
import { ExampleStateInterface } from './module-template/state';
export interface StateInterface {
// Define your own store structure, using submodules if needed
// example: ExampleStateInterface;