Fix eslint warnings

This commit is contained in:
Joscha 2025-02-10 15:28:30 +01:00
parent 92f5e37a4c
commit 4aeb9eb8bd
6 changed files with 10 additions and 9 deletions

View file

@ -1,11 +1,11 @@
import { defineStore } from "pinia";
import { computed, ref } from "vue";
export type Note = {
export interface Note {
readonly id: string;
text: string;
children: string[];
};
}
export const useNotesStore = defineStore("notes", () => {
const notes = ref<Map<string, Note>>(new Map());