Fix typescript 1.6 compile errors.

- Remove unknown properties in object literals.
- Don't use module-level `delete` statements.
This commit is contained in:
Hristo Deshev
2015-09-18 11:20:17 +03:00
parent b7c87bba9c
commit 9fbcf5f143
16 changed files with 72 additions and 43 deletions

View File

@@ -272,8 +272,7 @@ export class Animation extends common.Animation implements definition.Animation
value: Animation._affineTransform(CGAffineTransformIdentity, propertyAnimations[i].property, propertyAnimations[i].value),
duration: propertyAnimations[i].duration,
delay: propertyAnimations[i].delay,
iterations: propertyAnimations[i].iterations,
iosUIViewAnimationCurve: propertyAnimations[i].curve
iterations: propertyAnimations[i].iterations
};
trace.write("Created new transform animation: " + common.Animation._getAnimationInfo(newTransformAnimation), trace.categories.Animation);
@@ -299,4 +298,4 @@ export class Animation extends common.Animation implements definition.Animation
return result;
}
}
}