chore(build): Upgrade to TypeScript@1.5.3

This change also makes us compliant with 1.6.0-dev compiler,
so we can do some experiments with apps that use 1.6 features
and compile against Angular.

We should probably add a travis build for 1.6 so we stay compatible
with both versions.
This commit is contained in:
Alex Eagle
2015-07-29 20:09:54 -07:00
parent c5cb7009ca
commit 3c58878b19
28 changed files with 140 additions and 145 deletions

View File

@ -69,8 +69,8 @@ export function main() {
var i0, i1;
var MyClass =
(<any>TestDecorator('test-works'))
.Class({
extends: Class({
.Class(<any>{
extends: Class(<any>{
constructor: function() {},
extendWorks: function() { return 'extend ' + this.arg; }
}),
@ -121,7 +121,7 @@ export function main() {
});
it('should ensure that only Function|Arrays are supported', () => {
expect(() => { Class({constructor: function() {}, method: 'non_function'}); })
expect(() => { Class(<any>{constructor: function() {}, method: 'non_function'}); })
.toThrowError(
"Only Function or Array is supported in Class definition for key 'method' is 'non_function'");
});