Skip to content

Commit

Permalink
🔨 fix type inference mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Sep 5, 2024
1 parent 78b4f8f commit bcbe4b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion baker/MultiDimBaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {
const getGrapherConfigIdsByVariableIds = async (
knex: db.KnexReadonlyTransaction,
variableIds: number[]
) => {
): Promise<Record<number, string | null>> => {
const rows = await getGrapherConfigIdsForVariables(knex, variableIds)

return Object.fromEntries(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface MultiDimDataPageProps {
tagToSlugMap?: Record<string, string>
faqEntries?: FaqEntryKeyedByGdocIdAndFragmentId
primaryTopic?: PrimaryTopic | undefined
variableIdToGrapherConfigMap?: Record<number, string>
variableIdToGrapherConfigMap?: Record<number, string | null>

initialQueryStr?: string
canonicalUrl?: string
Expand Down

0 comments on commit bcbe4b0

Please sign in to comment.