4
You need to declare typing for listItems
like this:
const listItems = ref<string[]>([]);
otherwise TypeScript won’t know what type of array listItems
is
Source:stackexchange.com
4
You need to declare typing for listItems
like this:
const listItems = ref<string[]>([]);
otherwise TypeScript won’t know what type of array listItems
is