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 {
|
export interface Stat {
|
||||||
amount?: number;
|
amount?: number | string;
|
||||||
title?: string;
|
title?: string;
|
||||||
icon?: string;
|
icon?: string;
|
||||||
}
|
}
|
||||||
@@ -140,7 +140,7 @@ export interface Price {
|
|||||||
title?: string;
|
title?: string;
|
||||||
subtitle?: string;
|
subtitle?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
price?: number;
|
price?: number | string;
|
||||||
period?: string;
|
period?: string;
|
||||||
items?: Array<Item>;
|
items?: Array<Item>;
|
||||||
callToAction?: CallToAction;
|
callToAction?: CallToAction;
|
||||||
|
Reference in New Issue
Block a user