diff --git a/Libraries/NativeAnimation/RCTNativeAnimatedModule.mm b/Libraries/NativeAnimation/RCTNativeAnimatedModule.mm index 487edcd6a71..a5a53684f9d 100644 --- a/Libraries/NativeAnimation/RCTNativeAnimatedModule.mm +++ b/Libraries/NativeAnimation/RCTNativeAnimatedModule.mm @@ -15,6 +15,9 @@ typedef void (^AnimatedOperation)(RCTNativeAnimatedNodesManager *nodesManager); +@interface RCTNativeAnimatedModule() +@end + @implementation RCTNativeAnimatedModule { RCTNativeAnimatedNodesManager *_nodesManager; @@ -332,6 +335,14 @@ RCT_EXPORT_METHOD(removeAnimatedEventFromView:(double)viewTag }); } +- (std::shared_ptr) + getTurboModuleWithJsInvoker:(std::shared_ptr)jsInvoker + nativeInvoker:(std::shared_ptr)nativeInvoker + perfLogger:(id)perfLogger +{ + return std::make_shared(self, jsInvoker, nativeInvoker, perfLogger); +} + @end Class RCTNativeAnimatedModuleCls(void) {