mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update http.ts (#5551)
This commit is contained in:
committed by
Alexander Vakrilov
parent
4cadb3f1a6
commit
c02bb283a9
@@ -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<string> {
|
||||
return new Promise<string>((resolve, reject) => {
|
||||
@@ -49,4 +48,4 @@ export function getFile(arg: any, destinationFilePath?: string): Promise<any> {
|
||||
}
|
||||
}, e => reject(e));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user