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:
4
src/types.d.ts
vendored
4
src/types.d.ts
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user