diff --git a/file-system/file-system-access.android.ts b/file-system/file-system-access.android.ts index da9eae24f..ba4efb8e1 100644 --- a/file-system/file-system-access.android.ts +++ b/file-system/file-system-access.android.ts @@ -1,5 +1,5 @@ import appModule = require("application"); -import textModule = require("text/text"); +import textModule = require("text"); export class FileSystemAccess { private _pathSeparator = java.io.File.separator.toString(); diff --git a/file-system/file-system-access.ios.ts b/file-system/file-system-access.ios.ts index 3dfd4721b..87f4256bd 100644 --- a/file-system/file-system-access.ios.ts +++ b/file-system/file-system-access.ios.ts @@ -1,6 +1,6 @@ import app_module = require("application"); import utilsModule = require("utils/utils_ios"); -import textModule = require("text/text"); +import textModule = require("text"); // TODO: Implement all the APIs receiving callback using async blocks // TODO: Check whether we need try/catch blocks for the iOS implementation diff --git a/text/text.d.ts b/text/text.d.ts index 657f2cdce..a5359343c 100644 --- a/text/text.d.ts +++ b/text/text.d.ts @@ -1,12 +1,14 @@ /** * Defines the supported character encodings. */ -export declare module encoding { - export var ISO_8859_1: any; - export var US_ASCII: any; - export var UTF_16: any; - export var UTF_16BE: any; - export var UTF_16LE: any; - export var UTF_8: any; +declare module "text" { + export module encoding { + export var ISO_8859_1: any; + export var US_ASCII: any; + export var UTF_16: any; + export var UTF_16BE: any; + export var UTF_16LE: any; + export var UTF_8: any; + } }