Fixed a bunch of typo's and minor errors in TypeScript definition files. (#4707)

* Fix a bunch of typo's and minor errors in TypeScript definition files.

* Implemented the requested change by @hshristov
This commit is contained in:
Eddy Verbruggen
2017-08-21 10:22:04 +02:00
committed by Hristo Hristov
parent 121ad5de01
commit 6e06eba218
17 changed files with 71 additions and 52 deletions

View File

@@ -32,7 +32,7 @@ export var suspendEvent: string;
export var resumeEvent: string;
/**
* String value used when hooking to exitevent.
* String value used when hooking to exit event.
*/
export var exitEvent: string;
@@ -212,7 +212,7 @@ export function on(event: "suspend", callback: (args: ApplicationEventData) => v
export function on(event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any);
/**
* This event is raised when the Application is about to exitEvent.
* This event is raised when the Application is about to exit.
*/
export function on(event: "exit", callback: (args: ApplicationEventData) => void, thisArg?: any);
@@ -285,7 +285,7 @@ export interface AndroidActivityRequestPermissionsEventData extends AndroidActiv
requestCode: number;
/**
* The Permissions
* The Permissions.
*/
permissions: Array<string>;
@@ -425,7 +425,7 @@ export class AndroidApplication extends Observable {
on(event: "activityBackPressed", callback: (args: AndroidActivityBackPressedEventData) => void, thisArg?: any);
/**
* This event is raised on the back button is pressed in an android application.
* This event is raised when the Android activity requests permissions.
*/
on(event: "activityRequestPermissions", callback: (args: AndroidActivityRequestPermissionsEventData) => void, thisArg?: any);