Added type annotation to Utils.Factorial

Without the type annotation, this fails to compile with --noImplicitAny
This commit is contained in:
Bernie Sumption
2016-01-21 21:37:48 +00:00
parent 2cad4a3cff
commit 6f3a573f20
+1 -1
View File
@@ -95,6 +95,6 @@ interface TweenInterpolation {
Utils: {
Linear(p0:number, p1:number, t:number): number;
Bernstein(n:number, i:number): number;
Factorial(n): number;
Factorial(n:number): number;
};
}