File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
"version" : " 1.1.0" ,
10
10
"author" : " Greg Bergé <berge.greg@gmail.com>" ,
11
11
"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" ,
15
15
"repository" : " github:gregberge/react-merge-refs" ,
16
16
"funding" : {
17
17
"type" : " github" ,
22
22
"release" : " standard-version && conventional-github-releaser --preset angular" ,
23
23
"start" : " tsdx watch" ,
24
24
"test" : " tsdx test" ,
25
- "build" : " tsdx build"
25
+ "build" : " tsdx build --format cjs "
26
26
},
27
27
"devDependencies" : {
28
28
"@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" ;
2
2
3
3
export default function mergeRefs < T = any > (
4
4
refs : Array < React . MutableRefObject < T > | React . LegacyRef < T > >
You can’t perform that action at this time.
0 commit comments