fix: fix clang errors

This commit is contained in:
Jeff Cross
2015-05-28 11:08:26 -07:00
parent 9d90128463
commit 01fb8e6635
5 changed files with 23 additions and 24 deletions

View File

@ -1,7 +1,7 @@
import {global} from 'angular2/src/facade/lang';
export function makeDecorator(annotationCls) {
return function(... args) {
return function(...args) {
var Reflect = global.Reflect;
if (!(Reflect && Reflect.getMetadata)) {
throw 'reflect-metadata shim is required when using class decorators';
@ -20,7 +20,7 @@ export function makeDecorator(annotationCls) {
}
export function makeParamDecorator(annotationCls): any {
return function(... args) {
return function(...args) {
var Reflect = global.Reflect;
if (!(Reflect && Reflect.getMetadata)) {
throw 'reflect-metadata shim is required when using parameter decorators';