File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 99 "version" : " 1.1.0" ,
1010 "author" :
" Greg Bergé <[email protected] >" ,
1111 "license" : " MIT" ,
12- "main" : " dist/index.js" ,
13- "module " : " dist/react-merge-refs.esm .js" ,
14- "typings" : " dist/index.d.ts" ,
12+ "main" : " ./ dist/index.js" ,
13+ "exports " : " ./ dist/index .js" ,
14+ "typings" : " ./ dist/index.d.ts" ,
1515 "repository" : " github:gregberge/react-merge-refs" ,
1616 "funding" : {
1717 "type" : " github" ,
2222 "release" : " standard-version && conventional-github-releaser --preset angular" ,
2323 "start" : " tsdx watch" ,
2424 "test" : " tsdx test" ,
25- "build" : " tsdx build"
25+ "build" : " tsdx build --format cjs "
2626 },
2727 "devDependencies" : {
2828 "@testing-library/react" : " ^11.2.5" ,
Original file line number Diff line number Diff line change 1- import * as React from "react" ;
1+ import type * as React from "react" ;
22
33export default function mergeRefs < T = any > (
44 refs : Array < React . MutableRefObject < T > | React . LegacyRef < T > >
You can’t perform that action at this time.
0 commit comments