Skip to content

Commit

Permalink
Explicitly specify that outputFormat is a string -- this fixes tsc ge…
Browse files Browse the repository at this point in the history
…tting confused below when reassigning
  • Loading branch information
dannon committed Apr 26, 2024
1 parent fe8ecb1 commit 97efcea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Citation/CitationsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 97efcea

Please sign in to comment.