Skip to content

Commit

Permalink
Fix lint warns in ReactHostInterface (#38762)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #38762

Fix lint warns in ReactHostInterface

Reviewed By: cortinico

Differential Revision: D48018980

fbshipit-source-id: 51fe510ce4d7f903caae2e2fc995fec872df24ea
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Aug 3, 2023
1 parent b47403e commit a34ce64
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ interface ReactHostInterface {
* Entrypoint to reload the ReactInstance. If the ReactInstance is destroying, will wait until
* destroy is finished, before reloading.
*
* @param reason [String] describing why ReactHost is being reloaded (e.g. js error, user tap on
* reload button)
* @param reason describing why ReactHost is being reloaded (e.g. js error, user tap on reload
* button)
* @return A task that completes when React Native reloads
*/
fun reload(reason: String): TaskInterface<Void>
Expand All @@ -95,9 +95,9 @@ interface ReactHostInterface {
* Entrypoint to destroy the ReactInstance. If the ReactInstance is reloading, will wait until
* reload is finished, before destroying.
*
* @param reason [String] describing why ReactHost is being destroyed (e.g. memmory pressure)
* @param ex [Exception] exception that caused the trigger to destroy ReactHost (or null) This
* exception will be used to log properly the cause of destroy operation.
* @param reason describing why ReactHost is being destroyed (e.g. memmory pressure)
* @param ex exception that caused the trigger to destroy ReactHost (or null) This exception will
* be used to log properly the cause of destroy operation.
* @return A task that completes when React Native gets destroyed.
*/
fun destroy(reason: String, ex: Exception?): TaskInterface<Void>
Expand Down

0 comments on commit a34ce64

Please sign in to comment.