mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 12:57:42 +08:00

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.
15 lines
458 B
TypeScript
15 lines
458 B
TypeScript
/* 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; } } |