troch / reinspect

Use redux devtools to inspect useState and useReducer :mag_right:
MIT License
424 stars 24 forks source link

issue #28 resolve missing types #29

Closed nmccready closed 4 years ago

nmccready commented 4 years ago

types location is now defined for typescript inference

hmil commented 4 years ago

Note that the "typings" field is synonymous with "types", and could be used as well. https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

This package already has a "typings" entry in package.json. It's working for me in VS code. What is your dev environment and what error are you experiencing?

troch commented 4 years ago

Hello, yes typings should work. As @hmil asked, what is your environment?

nmccready commented 4 years ago

Ill have to revisit this apologies. I am not actively working on this at the moment and can't remember why this wasn't working. All I know is the above resolved it. I'll close this for now.