Skip to content

Commit 3510acb

Browse files
committed
Add missing declaratiosn in interface file
1 parent 8bd35c5 commit 3510acb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/ReactTestUtils.resi

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@ let act: (unit => unit) => unit
22

33
let actAsync: (unit => Js.Promise.t<'a>) => Js.Promise.t<unit>
44

5-
@bs.module("react-dom/test-utils")
5+
@bs.module("react-dom/test-utils.js")
66
external isElement: 'element => bool = "isElement"
77

8-
@bs.module("react-dom/test-utils")
8+
@bs.module("react-dom/test-utils.js")
99
external isElementOfType: ('element, React.component<'props>) => bool = "isElementOfType"
1010

11-
@bs.module("react-dom/test-utils")
11+
@bs.module("react-dom/test-utils.js")
1212
external isDOMComponent: 'element => bool = "isDOMComponent"
1313

14-
@bs.module("react-dom/test-utils")
14+
@bs.module("react-dom/test-utils.js")
1515
external isCompositeComponent: 'element => bool = "isCompositeComponent"
1616

17-
@bs.module("react-dom/test-utils")
17+
@bs.module("react-dom/test-utils.js")
1818
external isCompositeComponentWithType: ('element, React.component<'props>) => bool =
1919
"isCompositeComponentWithType"
2020

2121
module Simulate: {
22-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
22+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
2323
external click: Dom.element => unit = "click"
24-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
24+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
2525
external clickWithEvent: (Dom.element, 'event) => unit = "click"
26-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
26+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
2727
external change: Dom.element => unit = "change"
28-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
28+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
2929
external blur: Dom.element => unit = "blur"
30-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
30+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
3131
external changeWithEvent: (Dom.element, 'event) => unit = "change"
3232
let changeWithValue: (Dom.element, string) => unit
3333
let changeWithChecked: (Dom.element, bool) => unit
34-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
34+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
3535
external canPlay: Dom.element => unit = "canPlay"
36-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
36+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
3737
external timeUpdate: Dom.element => unit = "timeUpdate"
38-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
38+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
3939
external ended: Dom.element => unit = "ended"
40-
@bs.module("react-dom/test-utils") @bs.scope("Simulate")
40+
@bs.module("react-dom/test-utils.js") @bs.scope("Simulate")
4141
external focus: Dom.element => unit = "focus"
4242
}
4343

0 commit comments

Comments
 (0)