diff --git a/tns-core-modules/http/http.ts b/tns-core-modules/http/http.ts index e9f8d31eb..ba986cdba 100644 --- a/tns-core-modules/http/http.ts +++ b/tns-core-modules/http/http.ts @@ -1,7 +1,6 @@ import { ImageSource } from "../image-source"; import * as httpRequest from "./http-request"; - -global.moduleMerge(httpRequest, exports); +export * from "./http-request"; export function getString(arg: any): Promise { return new Promise((resolve, reject) => { @@ -49,4 +48,4 @@ export function getFile(arg: any, destinationFilePath?: string): Promise { } }, e => reject(e)); }); -} \ No newline at end of file +}