Skip to content

Commit 2766a12

Browse files
committed
return null_to_opt instead of nullable
1 parent 9d612c9 commit 2766a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/React.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,5 +452,5 @@ external useOptimistic: (
452452
@module("react")
453453
external act: (unit => promise<unit>) => promise<unit> = "act"
454454

455-
@module("react") @return(nullable)
455+
@module("react") @return(null_to_opt)
456456
external captureOwnerStack: unit => option<string> = "captureOwnerStack"

0 commit comments

Comments
 (0)