style(ReflectionCapabilities) _zipTypesAndAnnotations, not _zipTypesAndAnnotaions

I was stepping through the Reflector and came across this little guy.

Closes #6535
This commit is contained in:
Bryce Johnson 2016-01-17 03:46:15 -05:00 committed by Alex Eagle
parent 26e60d658a
commit dbeff6f548
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ export class ReflectionCapabilities implements PlatformReflectionCapabilities {
}
/** @internal */
_zipTypesAndAnnotaions(paramTypes, paramAnnotations): any[][] {
_zipTypesAndAnnotations(paramTypes, paramAnnotations): any[][] {
var result;
if (typeof paramTypes === 'undefined') {
@ -119,7 +119,7 @@ export class ReflectionCapabilities implements PlatformReflectionCapabilities {
var paramAnnotations = this._reflect.getMetadata('parameters', typeOrFunc);
var paramTypes = this._reflect.getMetadata('design:paramtypes', typeOrFunc);
if (isPresent(paramTypes) || isPresent(paramAnnotations)) {
return this._zipTypesAndAnnotaions(paramTypes, paramAnnotations);
return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);
}
}
// The array has to be filled with `undefined` because holes would be skipped by `some`