diff --git a/baker/MultiDimBaker.tsx b/baker/MultiDimBaker.tsx index 3ae3f15a8f9..03b5c6fc0e8 100644 --- a/baker/MultiDimBaker.tsx +++ b/baker/MultiDimBaker.tsx @@ -42,7 +42,7 @@ import { const getGrapherConfigIdsByVariableIds = async ( knex: db.KnexReadonlyTransaction, variableIds: number[] -) => { +): Promise> => { const rows = await getGrapherConfigIdsForVariables(knex, variableIds) return Object.fromEntries( diff --git a/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts b/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts index 163f6042d20..5ddfb472c50 100644 --- a/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts +++ b/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts @@ -83,7 +83,7 @@ export interface MultiDimDataPageProps { tagToSlugMap?: Record faqEntries?: FaqEntryKeyedByGdocIdAndFragmentId primaryTopic?: PrimaryTopic | undefined - variableIdToGrapherConfigMap?: Record + variableIdToGrapherConfigMap?: Record initialQueryStr?: string canonicalUrl?: string