Skip to content

Commit

Permalink
chore: remove leftover ts-ignores (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidma415 authored Apr 8, 2024
1 parent 27a830f commit 9dfa1e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/vitals/ChartPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()}`)
Expand Down
2 changes: 0 additions & 2 deletions src/views/ProductShell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const deselectOperation = ref<boolean>(false)
const deprecatedWarning = helpText.productVersion.deprecatedWarningProduct
// @ts-ignore
const productStore = useProductStore()
const { product, documentTree, activeDocumentSlug, activeProductVersionId } = storeToRefs(productStore)
Expand Down Expand Up @@ -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, {
Expand Down

0 comments on commit 9dfa1e3

Please sign in to comment.