Replace `EventSubscription.t` so you can call `.remove()` on `EventSu… · rescript-react-native/rescript-react-native@71399ce

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 71399ce

committed

Replace EventSubscription.t so you can call .remove() on EventSubscription.t instead of ->EventSubscription.remove()

1 parent 4b98e2b commit 71399ce

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -1,3 +1,3 @@

1-

type t

1+

type t = {@meth "remove": unit => unit}

22
33

@send external remove: t => unit = "remove"

0 commit comments

Comments

 (0)