Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug! #547

Closed
wavewa opened this issue Nov 1, 2024 · 1 comment
Closed

Bug! #547

wavewa opened this issue Nov 1, 2024 · 1 comment

Comments

@wavewa
Copy link

wavewa commented Nov 1, 2024

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/world-countries/index.d.ts b/node_modules/world-countries/index.d.ts
index aee9883..f265b65 100644
--- a/node_modules/world-countries/index.d.ts
+++ b/node_modules/world-countries/index.d.ts
@@ -42,7 +42,7 @@ export interface Country {
   languages: { [languageCode: string]: string }
   translations: { [languageCode: string]: OfficialAndCommon }
   latlng: [number, number]
-  demonyms: { [languageCode: string]?: Demonyms }
+  demonyms: { [languageCode: string]: Demonyms }
   landlocked: boolean
   borders: string[]
   area: number

This issue body was partially generated by patch-package.

@mledoze
Copy link
Owner

mledoze commented Nov 8, 2024

Hi, this was fixed by #483

@mledoze mledoze closed this as completed Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants