Open alexdeleon opened 9 months ago
Fixes #36 . Now you can write the following TypeScript code without runtime error:
import countries, { CountryProperty } from "country-codes-list"; function findCountry(code: string) { return countries.findOne(CountryProperty.countryCode, code); }
A better solution is: #41
Fixes #36 . Now you can write the following TypeScript code without runtime error: