1- declare namespace org {
2- namespace nativescript {
3- namespace widgets {
1+ declare module org {
2+ module nativescript {
3+ module widgets {
44 export class BoxShadowDrawable {
55 public constructor ( drawable : android . graphics . drawable . Drawable , values : number [ ] ) ;
66 public getWrappedDrawable ( ) : android . graphics . drawable . Drawable ;
1212 public setResetOnTransitionEnd ( resetOnTransitionEnd : boolean ) : void ;
1313 public getTransitionName ( ) : string ;
1414 }
15- export namespace Async {
15+ export module Async {
1616 export class CompleteCallback {
1717 constructor ( implementation : ICompleteCallback ) ;
1818 onComplete ( result : Object , context : Object ) : void ;
2424 onError ( error : string , context : Object ) : void ;
2525 }
2626
27- export namespace Image {
27+ export module Image {
2828 export function download ( url : string , callback : CompleteCallback , context : any ) ;
2929 }
3030
31- export namespace File {
31+ export module File {
3232 export function copySync ( src : string , dest : string , context : android . content . Context ) : boolean ;
3333 export function copy ( src : java . io . InputStream , dest : java . io . OutputStream , callback : org . nativescript . widgets . Async . CompleteCallback , context : any ) : void ;
3434 export function copySync ( src : java . io . InputStream , dest : java . io . OutputStream , context : any ) : boolean ;
4444 export function appendText ( path : string , content : string , encoding : string , callback : CompleteCallback , context : any ) ;
4545 }
4646
47- export namespace Http {
47+ export module Http {
4848 export class KeyValuePair {
4949 public key : string ;
5050 public value : string ;
277277 public setPassThroughParent ( value : boolean ) : void ;
278278 }
279279
280- export namespace LayoutBase {
280+ export module LayoutBase {
281281 export class WindowInsetListener {
282282 public constructor ( implementation : {
283283 onApplyWindowInsets ( param0 : java . nio . ByteBuffer ) : void ;
720720 }
721721}
722722
723- declare namespace org {
724- export namespace nativescript {
725- export namespace widgets {
723+ declare module org {
724+ export module nativescript {
725+ export module widgets {
726726 export class FileHelper {
727727 public static class : java . lang . Class < org . nativescript . widgets . FileHelper > ;
728728 public appendSync ( param0 : globalAndroid . content . Context , param1 : androidNative . Array < number > , param2 : org . nativescript . widgets . FileHelper . Callback ) : void ;
@@ -758,7 +758,7 @@ declare namespace org {
758758 public appendText ( param0 : globalAndroid . content . Context , param1 : string , param2 : string , param3 : org . nativescript . widgets . FileHelper . Callback ) : void ;
759759 public getLastModified ( ) : number ;
760760 }
761- export namespace FileHelper {
761+ export module FileHelper {
762762 export class Callback {
763763 public static class : java . lang . Class < org . nativescript . widgets . FileHelper . Callback > ;
764764 /**
@@ -777,9 +777,9 @@ declare namespace org {
777777 }
778778}
779779
780- declare namespace org {
781- export namespace nativescript {
782- export namespace widgets {
780+ declare module org {
781+ export module nativescript {
782+ export module widgets {
783783 export class Utils {
784784 public static class : java . lang . Class < org . nativescript . widgets . Utils > ;
785785 public static getBitmapFromDrawable ( param0 : globalAndroid . graphics . drawable . Drawable ) : globalAndroid . graphics . Bitmap ;
@@ -802,7 +802,7 @@ declare namespace org {
802802 public static ignoreEdgeToEdgeOnOlderDevices : boolean ;
803803 public constructor ( ) ;
804804 }
805- export namespace Utils {
805+ export module Utils {
806806 export class AsyncImageCallback {
807807 public static class : java . lang . Class < org . nativescript . widgets . Utils . AsyncImageCallback > ;
808808 /**
0 commit comments