chore: fix type error

pull/671/head
Amio 2024-07-09 13:02:52 +08:00
rodzic 3b14745ddb
commit 36513b3a3f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -20,11 +20,11 @@ async function handler ({ topic, slug }: PathArgs) {
const endpoint = `https://liberapay.com/${slug}/public.json`
const details = await got(endpoint).json<any>()
const receivingLocaleOptions = {
const receivingLocaleOptions: Intl.NumberFormatOptions = {
style: 'currency',
currency: details.giving.currency
}
const givingLocaleOptions = {
const givingLocaleOptions: Intl.NumberFormatOptions = {
style: 'currency',
currency: details.receiving.currency
}