npm scripts for typechecking public .d.ts-es and running tslint (#2934)

* npm scripts for typechecking public .d.ts-es and running tslint

* Update test.ts
This commit is contained in:
Panayot Cankov
2016-10-27 15:18:54 +03:00
committed by Vladimir Enchev
parent fd23197851
commit 05cd636fc8
20 changed files with 42 additions and 23 deletions

View File

@@ -34,4 +34,3 @@ if (global.TNS_WEBPACK) {
global.registerModule("ui/text-view", () => require("ui/text-view"))
global.registerModule("ui/time-picker", () => require("ui/time-picker"))
}

View File

@@ -8,4 +8,3 @@ declare module "js-libs/easysax" {
public angularSyntax: boolean;
}
}

View File

@@ -37,4 +37,3 @@ declare module "text" {
export var UTF_8: any;
}
}

View File

@@ -1,6 +1,4 @@
/**
* iOS specific timer functions implementation.
*/
//iOS specific timer functions implementation.
var timeoutCallbacks = new Map<number, KeyValuePair<NSTimer, TimerTargetImpl>>();
var timerId = 0;

View File

@@ -64,7 +64,6 @@ export function write(message: any, category: string, type?: number) {
return;
}
for (i = 0; i < _writers.length; i++) {
_writers[i].write(message, category, type);
}

View File

@@ -535,7 +535,6 @@ namespace xml2ui {
sourceTracker: this.sourceTracker
});
}
} else {

View File

@@ -527,4 +527,3 @@ export function goBack(): boolean {
export function stack(): Array<definition.Frame> {
return frameStack;
}