aboutsummaryrefslogtreecommitdiff
path: root/src/countries.ts
diff options
context:
space:
mode:
authorFridon <[email protected]>2022-06-23 09:38:58 +0400
committerFridon <[email protected]>2022-06-23 09:38:58 +0400
commit660b0439ba9f95f454d73e17575912c021c1efda (patch)
tree2ea26e8442f8e08419308b99c7cee74a7edb42e5 /src/countries.ts
parentd1950145c013af874b8cb9faeacd49d2b7c633b5 (diff)
downloadcountryfetch-660b0439ba9f95f454d73e17575912c021c1efda.tar.xz
countryfetch-660b0439ba9f95f454d73e17575912c021c1efda.zip
change population type to string in FetchedCountries
Diffstat (limited to 'src/countries.ts')
-rw-r--r--src/countries.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/countries.ts b/src/countries.ts
index bf8ae84..432fcd1 100644
--- a/src/countries.ts
+++ b/src/countries.ts
@@ -93,7 +93,7 @@ export class Countries {
country: country.name.common,
capital: country.capital[0],
flag: country.flag,
- population: country.population,
+ population: country.population.toLocaleString(),
region: country.region,
currencies,
languages,