From ab1dcf87563a0a5de8b70cbad9348fb6ac82504e Mon Sep 17 00:00:00 2001 From: Dylan Awalt-Conley Date: Tue, 26 Mar 2024 12:16:56 -0400 Subject: [PATCH] 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. --- src/types.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.d.ts b/src/types.d.ts index acbf461..f5897f2 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -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; callToAction?: CallToAction;