i-rocky/country-list-js

The package doesn't support TypeScript

EliasSalom opened this issue · 4 comments

the package doesn't support Typescript
I tried to run the package on react project and then I received and typescript error,
it shows the code property and it doesn't exist in the object, and when I tried to go to the property directly it showed in error

image
image
image

ekkis commented

https://snyk.io/advisor/npm-package/@types/country-list-js

is that something we should include in the package? I don't really know anything about TypeScript

When you add this as devDependwncy and our package as dependency, this one is used as types resolver.