ci(typescript): add typescript_next build

Install typescript@next before build.js and test.typings.
Restore the regular version before travis caches node_modules/.

Fixes #6368
This commit is contained in:
Alex Eagle
2016-02-08 13:23:12 -08:00
parent 265703b950
commit a7e9bc97f6
4 changed files with 14 additions and 2 deletions

View File

@ -63,7 +63,7 @@ export class BitmapService {
return imageData;
}
private _swap(data: any[], index1: number, index2: number) {
private _swap(data: Uint8Array | number[], index1: number, index2: number) {
var temp = data[index1];
data[index1] = data[index2];
data[index2] = temp;