sindresorhus / read-package-up

Read the closest package.json file
MIT License
258 stars 18 forks source link

Add TypeScript typings #6

Closed dudeofawesome closed 5 years ago

dudeofawesome commented 6 years ago

This PR relies on types from find-up and read-pkg, which are added in sindresorhus/find-up#29 and sindresorhus/read-pkg#8. Those PRs need to be merged in for this one to be useful.

dudeofawesome commented 6 years ago

I just noticed that this package still uses read-pkg@^3.0.0, so the inherited typings from that will be missing unless it gets updated.

sindresorhus commented 6 years ago

Can you address the same feedback as in https://github.com/sindresorhus/read-pkg/pull/8?