mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
FrameClass implemented as TypeScript class
NativeActivity is now NativeScriptActivity and is real class Added NativeScriptApplication class Added JavaProxy attribute to FrameClass, NativeScriptActivity & NativeScriptApplication
This commit is contained in:
6
declarations.d.ts
vendored
6
declarations.d.ts
vendored
@@ -105,6 +105,12 @@ declare var require: NativeScriptRequire;
|
||||
declare function Deprecated(target: Object, key?: string | symbol, value?: any): void;
|
||||
declare function Experimental(target: Object, key?: string | symbol, value?: any): void;
|
||||
|
||||
/**
|
||||
* Decorates class that extends native Java class
|
||||
* @param nativeClassName The name of the newly generated class. Must be unique in the application.
|
||||
*/
|
||||
declare function JavaProxy(nativeClassName: string): 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