updated playersArr.ts to use correct type

This commit is contained in:
2022-03-25 15:48:15 +01:00
parent 5cb339483a
commit 16addf0bca

View File

@@ -1,8 +1,8 @@
import { defineStore } from "pinia"; import { defineStore } from "pinia";
import type { Player } from "@/types"; import type { MatchStats } from "@/types";
export type RootState = { export type RootState = {
playersArr: Player[]; playersArr: MatchStats[] | undefined;
}; };
export const usePlayersArrStore = defineStore({ export const usePlayersArrStore = defineStore({