Broke my component when change de 2.0.0-beta.3


SyntaxError in const moment:, but in 2.0.0-beta.1 work, if you remove the line, the same error occurs, however the implements

code exempla:

import {Component, ViewContainerRef, Input, Output, EventEmitter, AfterViewInit} from 'angular2/core';
import {NgIf, NgFor, NgClass, NgModel, FORM_DIRECTIVES, ControlValueAccessor} from 'angular2/common';
import * as moment_ from 'moment';

const moment: moment.MomentStatic = (<any>moment_)['default'] || moment_;

  selector: 'datepicker',
  templateUrl: 'build/pages/components/datePicker.html',
  providers: [],
  directives: [FORM_DIRECTIVES, NgIf, NgFor, NgClass],
  pipes: []

export class DatePicker implements ControlValueAccessor, AfterViewInit{

 public dateValue: string;
 public viewValue: string;
 public days: Array<Object>;
 public dayNames: Array<string>;
 private el: any;
 private date: any;
 private viewContainer: ViewContainerRef;
 private onChange: Function;
 private onTouched: Function;
 private cd: any;
 private cannonical: number;