File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
gentype_tests/typescript-react-example/src
syntax_tests/data/idempotency/reason-react/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ module ForwardRef = {
103
103
104
104
@genType type testReactContext = React .Context .t <int >
105
105
106
- @genType type testReactRef = React .Ref . t <int >
106
+ @genType type testReactRef = React .ref <int >
107
107
108
108
@genType type testDomRef = ReactDOM .domRef
109
109
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ type domRef
81
81
82
82
module Ref = {
83
83
type t = domRef
84
- type currentDomRef = React .Ref . t <Js .nullable <Dom .element >>
84
+ type currentDomRef = React .ref <Js .nullable <Dom .element >>
85
85
type callbackDomRef = Js .nullable <Dom .element > => unit
86
86
87
87
external domRef : currentDomRef => domRef = "%identity"
You can’t perform that action at this time.
0 commit comments