fix: number types that can already be strings

Some of the amounts being passed, e.g. in homes/mobile-app.astro, cannot
easily be represented as numbers.
This commit is contained in:
Dylan Awalt-Conley
2024-03-26 12:16:56 -04:00
parent d8fca9901a
commit ab1dcf8756

4
src/types.d.ts vendored
View File

@@ -122,7 +122,7 @@ interface Social {
}
export interface Stat {
amount?: number;
amount?: number | string;
title?: string;
icon?: string;
}
@@ -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;