I'm trying to implement a reactNative library whose native module has a method (annotated with @ReactMethod) that requires an object of type T. That T is an interface written in native language (kotlin).
Can i implement that interface in reactNative javascript? And if not, how do i achieve passing an object that implements that interface?