Migrate TurboModule to kotlin (#38503)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38503

In this diff I'm migrating TurboModule to kotlin

changelog: [internal] internal

Reviewed By: christophpurrer, cortinico

Differential Revision: D47382875

fbshipit-source-id: 9df36be8ad20f8bce35b0f991867f22c0101fc97
This commit is contained in:
David Vacca
2023-07-28 06:08:53 -07:00
committed by Facebook GitHub Bot
parent 6938f81172
commit 2736918ece
@@ -5,13 +5,12 @@
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.turbomodule.core.interfaces;
package com.facebook.react.turbomodule.core.interfaces
/** All turbo modules should inherit from this interface */
public interface TurboModule {
interface TurboModule {
/** Initialize the TurboModule. */
void initialize();
fun initialize()
/** Called before React Native is torn down. Clean up after the TurboModule. */
void invalidate();
fun invalidate()
}