Skip to content

Commit

Permalink
fix: number types that can already be strings
Browse files Browse the repository at this point in the history
Some of the amounts being passed, e.g. in homes/mobile-app.astro, cannot
easily be represented as numbers.
  • Loading branch information
dawaltconley committed Mar 26, 2024
1 parent d8fca99 commit ab1dcf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ interface Social {
}

export interface Stat {
amount?: number;
amount?: number | string;
title?: string;
icon?: string;
}
Expand All @@ -140,7 +140,7 @@ export interface Price {
title?: string;
subtitle?: string;
description?: string;
price?: number;
price?: number | string;
period?: string;
items?: Array<Item>;
callToAction?: CallToAction;
Expand Down

0 comments on commit ab1dcf8

Please sign in to comment.