mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 11:17:04 +08:00
Updated the text module with ambient declaration.
This commit is contained in:
@ -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();
|
||||
|
@ -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
|
||||
|
4
text/text.d.ts
vendored
4
text/text.d.ts
vendored
@ -1,7 +1,8 @@
|
||||
/**
|
||||
* Defines the supported character encodings.
|
||||
*/
|
||||
export declare module encoding {
|
||||
declare module "text" {
|
||||
export module encoding {
|
||||
export var ISO_8859_1: any;
|
||||
export var US_ASCII: any;
|
||||
export var UTF_16: any;
|
||||
@ -9,4 +10,5 @@ export declare module encoding {
|
||||
export var UTF_16LE: any;
|
||||
export var UTF_8: any;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user