Skip to content

Commit

Permalink
refactor: remove unnecessary type
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Oct 19, 2023
1 parent 2b81377 commit 776e64c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@ourworldindata/utils/src/MetadataHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import dayjs from "./dayjs.js"
import { OwidVariableWithSource } from "./OwidVariable.js"
import { OwidOrigin } from "./OwidOrigin.js"
import { CoreColumnDef } from "@ourworldindata/core-table"
import { compact, uniq } from "./Util"

export function getOriginAttributionFragments(
Expand All @@ -24,7 +23,7 @@ export function getOriginAttributionFragments(
}

export function getAttributionFromVariable(
variable: OwidVariableWithSource | CoreColumnDef
variable: OwidVariableWithSource
): string {
if (
variable.presentation?.attribution &&
Expand Down

0 comments on commit 776e64c

Please sign in to comment.