1 // Copyright © 2021-present 650 Industries, Inc. (aka Expo) 2 3 #pragma once 4 5 #include "ExpectedType.h" 6 #include "FrontendConverter.h" 7 8 #include <fbjni/fbjni.h> 9 10 namespace jni = facebook::jni; 11 12 namespace expo { 13 class JSIInteropModuleRegistry; 14 15 /** 16 * Holds information about the expected Kotlin type. 17 */ 18 class AnyType { 19 public: 20 AnyType(jni::local_ref<ExpectedType> expectedType); 21 22 /* 23 * An instance of convert that should be used to convert from the jsi to the expected JNI type. 24 */ 25 std::shared_ptr<FrontendConverter> converter; 26 }; 27 } // namespace expo 28