feat(typings): Adding Android typings for API levels from 17 to 27 (#5890)

Adding android typings for API levels from 17 to 27

BREAKING CHANGES:
There is no longer added `I` prefix in the names of the interfaces. For example `android.view.IMenuItem` is now `android.view.MenuItem`. This matches the original name of the interface in the android framework.
This commit is contained in:
Vasil Trifonov
2018-07-05 18:36:23 +03:00
committed by Alexander Vakrilov
parent bcadcbe7b5
commit 398c9b3f33
48 changed files with 1183360 additions and 259921 deletions

View File

@@ -0,0 +1,15 @@
/* tslint:disable:no-unused-variable */
// Android specific TypeScript declarations
declare function float(num: number): any;
declare function long(num: number): any;
declare var gc: () => void;
declare function float(num: number): any;
declare function long(num: number): any;
interface ArrayConstructor {
create(type: any, count: number): any;
}
declare module native { export class Array<T> { constructor(); length: number; [index: number]: T; } }