mledoze / countries

World countries in JSON, CSV, XML and Yaml. Any help is welcome!
https://mledoze.github.io/countries/
Open Data Commons Open Database License v1.0
5.92k stars 1.26k forks source link

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

Closed yogeba closed 9 months ago

yogeba commented 9 months ago

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 commented 9 months ago

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

yogeba commented 9 months ago

Yes, @latest that worked. Thanks 🙌