Fix eslint warnings
This commit is contained in:
parent
92f5e37a4c
commit
4aeb9eb8bd
6 changed files with 10 additions and 9 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue