File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ declare namespace preact {
100100}
101101
102102// export default React;
103- export = React ;
103+ export default React ;
104104export as namespace React ;
105105declare namespace React {
106106 // Export JSX
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import {
33 VNode as PreactVNode ,
44 FunctionComponent as PreactFunctionComponent ,
55 PreactElement
6- } from '../../src/internal' ;
7- import { SuspenseProps } from './suspense' ;
6+ } from '../../src/internal.js ' ;
7+ import { SuspenseProps } from './suspense.js ' ;
88
9- export { ComponentChildren } from '../..' ;
9+ export { ComponentChildren } from '../../src/index.js ' ;
1010
1111export { PreactElement } ;
1212
Original file line number Diff line number Diff line change 55 PreactContext ,
66 HookType ,
77 ErrorInfo
8- } from '../../src/internal' ;
9- import { Reducer , StateUpdater } from '.' ;
8+ } from '../../src/internal.js ' ;
9+ import { Reducer , StateUpdater } from './index.js ' ;
1010
1111export { PreactContext } ;
1212
Original file line number Diff line number Diff line change 99 "moduleResolution" : " node" ,
1010 "resolveJsonModule" : true ,
1111 "paths" : {
12- "preact" : [" ." ],
12+ "preact" : [" ./src/index.d.ts " ],
1313 "preact/*" : [" ./*" ]
1414 },
1515 "target" : " es5" ,
You can’t perform that action at this time.
0 commit comments