mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 15:49:36 +08:00
Fixing typo
This commit is contained in:
@@ -310,7 +310,7 @@ codePush.checkForUpdate()
|
||||
codePush.getCurrentPackage(): Promise<LocalPackage>;
|
||||
```
|
||||
|
||||
Retrieves the metadata about the currently installed "package" (e.g. description, installation time). This can be useful for scenarios such as displaying a "what's new?" dialog after an update has been applied, and checking whether there is a pending update that is waiting to be applied via a resume or restart.
|
||||
Retrieves the metadata about the currently installed "package" (e.g. description, installation time). This can be useful for scenarios such as displaying a "what's new?" dialog after an update has been applied or checking whether there is a pending update that is waiting to be applied via a resume or restart.
|
||||
|
||||
This method returns a `Promise` which resolves to the [`LocalPackage`](#localpackage) instance that represents the currently running update.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user