File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const props = withDefaults(
3939 * Used when `weeklyDownloads` is not provided.
4040 */
4141 packageNames? : string []
42- repoRef? : RepoRef
42+ repoRef? : RepoRef | null | undefined
4343 createdIso? : string | null
4444
4545 /** When true, shows facet selector (e.g. Downloads / Likes). */
@@ -637,7 +637,7 @@ const DEFAULT_METRIC_ID: MetricId = 'downloads'
637637
638638type MetricContext = {
639639 packageName: string
640- repoRef: RepoRef | undefined
640+ repoRef? : RepoRef | undefined | null
641641}
642642
643643type MetricDef = {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import type { RepoRef } from '#shared/utils/git-providers'
88const props = defineProps <{
99 packageName: string
1010 createdIso: string | null
11- repoRef? : RepoRef
11+ repoRef? : RepoRef | null | undefined
1212}>()
1313
1414const router = useRouter ()
You can’t perform that action at this time.
0 commit comments