Skip to content

Commit

Permalink
[skip ci] Fix wrong type in kotlin (facebook#42726)
Browse files Browse the repository at this point in the history
Summary:

initHybrid always return a HybridData. we shouldn't allow null here.

changelog: [internal] internal

Reviewed By: NickGerleman

Differential Revision: D53200101
  • Loading branch information
mdvacca authored and facebook-github-bot committed Jan 30, 2024
1 parent 8a8f74b commit 0ab77e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ class JSCExecutor internal constructor(jscConfig: ReadableNativeMap) :
SoLoader.loadLibrary("jscexecutor")
}

@JvmStatic private external fun initHybrid(jscConfig: ReadableNativeMap): HybridData?
@JvmStatic private external fun initHybrid(jscConfig: ReadableNativeMap): HybridData
}
}

0 comments on commit 0ab77e8

Please sign in to comment.