Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3505429
D14099.id46318.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14099.id46318.diff
View Options
diff --git a/native/flow-typed/npm/react-native-reanimated_v2.x.x.js b/native/flow-typed/npm/react-native-reanimated_v2.x.x.js
--- a/native/flow-typed/npm/react-native-reanimated_v2.x.x.js
+++ b/native/flow-typed/npm/react-native-reanimated_v2.x.x.js
@@ -547,6 +547,8 @@
...
};
+ declare type MakeMutable = <T>(initialValue: T) => SharedValue<T>;
+
declare type UseSharedValue = <T>(val: T) => SharedValue<T>;
declare type UseDerivedValue = <T>(
@@ -651,6 +653,7 @@
declare export var event: Event;
declare export var useValue: UseValue;
declare export var useAnimatedGestureHandler: UseAnimatedGestureHandler;
+ declare export var makeMutable: MakeMutable;
declare export var useSharedValue: UseSharedValue;
declare export var useDerivedValue: UseDerivedValue;
declare export var useAnimatedStyle: UseAnimatedStyle;
@@ -709,6 +712,7 @@
+event: Event,
+useValue: UseValue,
+useAnimatedGestureHandler: UseAnimatedGestureHandler,
+ +makeMutable: MakeMutable,
+useSharedValue: UseSharedValue,
+useDerivedValue: UseDerivedValue,
+useAnimatedStyle: UseAnimatedStyle,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 1:25 PM (16 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2681804
Default Alt Text
D14099.id46318.diff (1 KB)
Attached To
Mode
D14099: [native] Add reanimated makeMutable function type
Attached
Detach File
Event Timeline
Log In to Comment