vue props only refers to a type but is being used as a value here
<script lang="ts">
import FlashInterface from '@/interfaces/FlashInterface';
import { ref, PropType } from 'vue';
import { useStore } from 'vuex';
export default {
props: {
message: {
type: Object as PropType<FlashInterface>,
required: true
}
},
setup(props): Record<string, unknown> {
// Stuff
}
};