From 9dfa1e38e615868ec2cfc1f35c7a8db9622eb402 Mon Sep 17 00:00:00 2001 From: David Ma <40131297+davidma415@users.noreply.github.com> Date: Mon, 8 Apr 2024 08:00:47 -0600 Subject: [PATCH] chore: remove leftover ts-ignores (#484) --- src/components/vitals/ChartPanel.vue | 1 - src/views/ProductShell.vue | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/components/vitals/ChartPanel.vue b/src/components/vitals/ChartPanel.vue index 0d09a4e1..5edc99e9 100644 --- a/src/components/vitals/ChartPanel.vue +++ b/src/components/vitals/ChartPanel.vue @@ -131,7 +131,6 @@ const props = defineProps<{ const selectedTimeframe = computed(() => props.modelValue.timeframe?.value) const selectedProductVersions = computed(() => props.modelValue.apiVersions?.value) const timeseriesQueryTime = computed(() => new TimeseriesQueryTime(selectedTimeframe.value)) -// @ts-ignore - The actual key name we want to extract is `value` const productVersionsCacheKey = computed(() => selectedProductVersions.value.map(entry => entry.value).join('-') || '') const appCacheKey = computed(() => `${productVersionsCacheKey.value}-${timeseriesQueryTime.value.startMs()}-${timeseriesQueryTime.value.endMs()}`) diff --git a/src/views/ProductShell.vue b/src/views/ProductShell.vue index 093e0a76..e0f133b6 100644 --- a/src/views/ProductShell.vue +++ b/src/views/ProductShell.vue @@ -57,7 +57,6 @@ const deselectOperation = ref(false) const deprecatedWarning = helpText.productVersion.deprecatedWarningProduct -// @ts-ignore const productStore = useProductStore() const { product, documentTree, activeDocumentSlug, activeProductVersionId } = storeToRefs(productStore) @@ -111,7 +110,6 @@ async function fetchDocumentTree () { const requestOptions = { productId: id } - // @ts-ignore // overriding the axios response because we're specifying what we're accepting above if (productStore.product) { const res = await documentationApi.listProductDocuments(requestOptions, {