Thanks for a helpful lib! It appears that the typings folder is not actually making it to npm, so the TS support isn't working. You can see that the typings folder isn't there by checking it out on runpkg: https://runpkg.com/?@testing-library/[email protected]/dist/index.js. Compare this to say, @testing-library/react, whose typings folder is published to npm: https://runpkg.com/?@testing-library/[email protected]/dist/index.js. Since there's no .npmignore nor a files field in the package.json, I believe everything that's on GitHub is ending up published to npm (which is strange that typings wouldn't also make it in this case), which even means your tests and source are getting bundled in folks' node_modules 😬 Finally, it appears the package.json version is out of lockstep with the npm published version. Happy to make a PR to help with these things if you like! Thanks again for a helpful lib.
Thanks for a helpful lib! It appears that the typings folder is not actually making it to
npm, so the TS support isn't working. You can see that thetypingsfolder isn't there by checking it out onrunpkg: https://runpkg.com/?@testing-library/[email protected]/dist/index.js. Compare this to say,@testing-library/react, whosetypingsfolder is published tonpm: https://runpkg.com/?@testing-library/[email protected]/dist/index.js. Since there's no.npmignorenor afilesfield in thepackage.json, I believe everything that's on GitHub is ending up published tonpm(which is strange thattypingswouldn't also make it in this case), which even means your tests and source are getting bundled in folks'node_modules😬 Finally, it appears thepackage.jsonversion is out of lockstep with thenpmpublished version. Happy to make a PR to help with these things if you like! Thanks again for a helpful lib.