mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Revert "Upgrade to TypeScript 2.1, and latest grunt-ts. (#3609)"
This reverts commit 79e6881ca6.
This commit is contained in:
@@ -5,7 +5,6 @@ import {Label} from "ui/label";
|
||||
import {StackLayout} from "ui/layouts/stack-layout";
|
||||
import colorModule = require("color");
|
||||
import enums = require("ui/enums");
|
||||
import { AnimationPromise } from "ui/animation";
|
||||
|
||||
// >> animation-require
|
||||
import animation = require("ui/animation");
|
||||
@@ -106,7 +105,7 @@ export function test_CancellingAnimate(done) {
|
||||
}
|
||||
// << (hide)
|
||||
});
|
||||
(<AnimationPromise>animation1).cancel();
|
||||
animation1.cancel();
|
||||
// << animation-cancel2
|
||||
}
|
||||
|
||||
@@ -485,4 +484,4 @@ function assertIOSNativeTransformIsCorrect(view: viewModule.View) {
|
||||
TKUnit.assert(false, errorMessage);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
"version": "2.4.0"
|
||||
},
|
||||
"tns-android": {
|
||||
"version": "2.5.0"
|
||||
"version": "2.4.1"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -24,4 +24,4 @@
|
||||
"lazy": "1.0.11",
|
||||
"typescript": "~2.0.10"
|
||||
}
|
||||
}
|
||||
}
|
||||
3
tests/references.d.ts
vendored
3
tests/references.d.ts
vendored
@@ -2,4 +2,7 @@
|
||||
/// <reference path="../tns-platform-declarations/ios.d.ts" />
|
||||
|
||||
/// <reference path="../tns-core-modules/tns-core-modules.d.ts" />
|
||||
/// <reference path="../tns-core-modules/lib.core.d.ts" />
|
||||
/// <reference path="../tns-core-modules/lib.dom.d.ts" />
|
||||
|
||||
/// <reference path="../tns-core-modules/ui/styling/css-selector-parser.d.ts" />
|
||||
|
||||
Reference in New Issue
Block a user