This repository was archived by the owner on Nov 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
examples/typescript-react-example/src Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ import {foo as fooNotChecked} from './hookExample';
88
99// In case of type error, check the type of 'makeRenamed' in 'ImportHooks.re' and './hookExample'.
1010export const makeRenamedTypeChecked : React . ComponentType < {
11+ readonly actions ?: JSX . Element ;
1112 readonly person : person ;
1213 readonly children : React . ReactNode ;
1314 readonly renderMe : renderMe < any >
1415} > = makeRenamedNotChecked ;
1516
1617// Export 'makeRenamed' early to allow circular import from the '.bs.js' file.
1718export const makeRenamed : unknown = makeRenamedTypeChecked as React . ComponentType < {
19+ readonly actions ?: JSX . Element ;
1820 readonly person : person ;
1921 readonly children : React . ReactNode ;
2022 readonly renderMe : renderMe < any >
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ type person = {
88
99@genType.import ("./hookExample" ) @react.component
1010external make : (
11+ ~actions : React .element = ?,
1112 ~person : person ,
1213 ~children : React .element ,
1314 ~renderMe : renderMe <'a >,
You can’t perform that action at this time.
0 commit comments