Explicitly specify that outputFormat is a string -- this fixes tsc getting confused below when reassigning

This commit is contained in:
Dannon Baker
2024-04-26 11:25:55 -04:00
parent fe8ecb12bf
commit 97efceafce
@@ -29,7 +29,7 @@ const { config } = useConfig(true);
const emit = defineEmits(["rendered", "show", "shown", "hide", "hidden"]);
const outputFormat = ref(outputFormats.CITATION);
const outputFormat = ref<string>(outputFormats.CITATION);
const citations = ref<Citation[]>([]);
onUpdated(() => {