BCL: added console, added references, added libjs.d.ts based on MS lib.d.ts without DOM

This commit is contained in:
Stanimir Karoserov
2014-03-18 12:42:36 +02:00
parent 9e39a150b0
commit 3f290abdf7
16 changed files with 2333 additions and 19 deletions

View File

@@ -108,6 +108,20 @@ declare module android {
static getExternalStorageDirectory(): java.io.File;
}
}
export module util {
export class Base64 {
static encodeToString(bytes: Array<any>, flags: number): string;
}
export class Log {
static v(tag: string, message: string): void;
static d(tag: string, message: string): void;
static w(tag: string, message: string): void;
static i(tag: string, message: string): void;
static e(tag: string, message: string): void;
}
}
}
declare module java {
@@ -198,6 +212,10 @@ declare module java {
constructor(strNum: string);
floatValue(): any;
}
export class System {
static nanoTime(): number;
}
}
}
@@ -297,15 +315,6 @@ declare module java {
}
}
declare module android {
export module util {
export class Base64 {
static encodeToString(bytes: Array<any>, flags: number): string;
}
}
}
declare module android {
export module widget {
export class ImageView {