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 June 26, 2024 18:52
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;