zeusdeux/use-is-in-viewport

Types aren't being built in the specified place.

jnguyenmt opened this issue · 1 comments

You aren't specifying the declaration directory in tsconfig but you are specifying a place in package.json ("types": "built/src/index.d.ts").

So currently, if I install your package with yarn and try to use it, typescript will gripe about no typings. Adjusting in either place should fix it. Not sure where you'd want to do it so it's up to you or I can put in a PR!

image

Thanks for the PR! Landed in v1.0.9 ^_^