minor rescript 10 updates · rescript-react-native/rescript-react-native@4360933

Original file line numberDiff line numberDiff line change

@@ -51,8 +51,7 @@ module SyntheticEvent = (

5151

nativeEvent: T._payload,

5252

target: Js.Nullable.t<float>,

5353

timeStamp: float,

54-

@as("type")

55-

_type: Js.Nullable.t<string>,

54+

\"type": Js.Nullable.t<string>,

5655

}

5756
5857

include EventMethods({

@@ -96,8 +95,7 @@ module ResponderSyntheticEvent = (

9695

nativeEvent: T._payload,

9796

target: Js.Nullable.t<float>,

9897

timeStamp: float,

99-

@as("type")

100-

_type: Js.Nullable.t<string>,

98+

\"type": Js.Nullable.t<string>,

10199

touchHistory: touchHistory,

102100

}

103101