mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
add android interfaces decorator definition in declarations.d.ts (#2664)
This commit is contained in:
committed by
Hristo Hristov
parent
604c10fa2c
commit
7bde7f5d5c
7
tns-core-modules/declarations.d.ts
vendored
7
tns-core-modules/declarations.d.ts
vendored
@@ -111,6 +111,13 @@ declare function Experimental(target: Object, key?: string | symbol, value?: any
|
||||
*/
|
||||
declare function JavaProxy(nativeClassName: string): ClassDecorator;
|
||||
|
||||
/**
|
||||
* Important: Not applicable to Objective-C classes (iOS platform)
|
||||
* Decorates class that extends native Java class
|
||||
* @param interfaces An array of fully-classified Java interface names that the class must implement.
|
||||
*/
|
||||
declare function Interfaces(interfaces: any[]): ClassDecorator;
|
||||
|
||||
declare function Log(data: any): void;
|
||||
declare function log(data: any): void;
|
||||
declare function float(num: number): any;
|
||||
|
||||
Reference in New Issue
Block a user