Closed maxmilton closed 3 years ago
Thanks for the PR @maxmilton think I may need to add a manual file to this. There are 2 sub-modules diary/utils
and diary/json
, both need types associated. Which is what i though that typeVersions
was meant to handle.
Are you okay for me to extend your PR to include this?
Ah I see. Of course, go nuts :+1:
Fixes https://github.com/maraisr/diary/issues/9
Removes
typesVersions
field inpackage.json
. If types are meant to apply to any TS version this field is not actually required.It seams the
"*"
key is not getting picked up by TS correctly and that's what causes the types to be unresolved.