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

a TypeScript syntax issue in the world-countries package #500

Closed
yogeba opened this issue Sep 29, 2023 · 2 comments
Closed

a TypeScript syntax issue in the world-countries package #500

yogeba opened this issue Sep 29, 2023 · 2 comments

Comments

@yogeba
Copy link

yogeba commented Sep 29, 2023

a syntax error in the index.d.ts file of the world-countries package.a syntax error in the index.d.ts file of the world-countries package.

demonyms: { [languageCode: string]?: Demonyms }

The ? operator is not allowed in index signatures.

@mledoze
Copy link
Owner

mledoze commented Sep 29, 2023

I think that this has been fixed by #483. Could you update your package version and confirm that it resolves the error?

@yogeba
Copy link
Author

yogeba commented Sep 29, 2023

Yes, @latest that worked. Thanks 🙌

@yogeba yogeba closed this as completed Sep 29, 2023
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