Fixing typo

This commit is contained in:
Jonathan Carter
2015-12-30 09:40:29 -08:00
parent a25b47a5e6
commit d5112bd362

View File

@@ -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.