Skip to content

Commit

Permalink
Merge pull request #570 from rinsuki/fix/ts47-node16-module
Browse files Browse the repository at this point in the history
fix: Add support for TS 4.7+ node16/next module
  • Loading branch information
thebuilder authored Jun 30, 2022
2 parents 764f70d + a0c099b commit ae5dcf6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
"unpkg": "./dist/react-intersection-observer.umd.js",
"types": "./dist/index.d.ts",
"exports": {
"./test-utils": "./dist/test-utils.js",
"./test-utils": {
"types": "./dist/test-utils.d.ts",
"default": "./dist/test-utils.js"
},
".": {
"types": "./dist/index.d.ts",
"require": "./dist/react-intersection-observer.js",
"default": "./dist/react-intersection-observer.modern.mjs"
}
Expand Down

1 comment on commit ae5dcf6

@vercel
Copy link

@vercel vercel bot commented on ae5dcf6 Jun 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.