albertnadal / ng2-daterange-picker

Light and simple date range picker component for Angular2 based on Material
MIT License
26 stars 18 forks source link

Build error with Angular 6 #14

Open playnox opened 6 years ago

playnox commented 6 years ago

Well, simply breaks...

ERROR in node_modules/ng2-daterange-picker/node_modules/@angular/material/stepper/typings/stepper.d.ts(16,5): error TS2416: Property '_stepHeader' in type 'MatStepper' is not assignable to the same property in base type 'CdkStepper'.
  Type 'QueryList<ElementRef<any>>' is not assignable to type 'QueryList<FocusableOption>'.
    Type 'ElementRef<any>' is not assignable to type 'FocusableOption'.
      Property 'focus' is missing in type 'ElementRef<any>'.
node_modules/ng2-daterange-picker/node_modules/@angular/material/table/typings/table-data-source.d.ts(119,5): error TS2416: Property 'connect' in type 'MatTableDataSource<T>' is not assignable to the same property in base type 'DataSource<T>'.
  Type '() => BehaviorSubject<T[]>' is not assignable to type '(collectionViewer: CollectionViewer) => Observable<T[]>'.
    Type 'BehaviorSubject<T[]>' is not assignable to type 'Observable<T[]>'.
      Property 'distinctUntilChanged' is missing in type 'BehaviorSubject<T[]>'.
node_modules/ng2-daterange-picker/src/ang.datepicker.component.ts(2,3): error TS2305: Module '".../app/node_modules/@angular/core/core"' has no exported member 'animate'.
node_modules/ng2-daterange-picker/src/ang.datepicker.component.ts(2,56): error TS2305: Module '".../app/node_modules/@angular/core/core"' has no exported member 'keyframes'.
node_modules/ng2-daterange-picker/src/ang.datepicker.component.ts(3,43): error TS2305: Module '".../app/node_modules/@angular/core/core"' has no exported member 'state'.
node_modules/ng2-daterange-picker/src/ang.datepicker.component.ts(3,50): error TS2305: Module '".../app/node_modules/@angular/core/core"' has no exported member 'style'.
node_modules/ng2-daterange-picker/src/ang.datepicker.component.ts(3,57): error TS2305: Module '".../app/node_modules/@angular/core/core"' has no exported member 'transition'.
node_modules/ng2-daterange-picker/src/ang.datepicker.component.ts(3,69): error TS2305: Module '".../app/node_modules/@angular/core/core"' has no exported member 'trigger'.
michaelblum commented 6 years ago

Same problem here.

Reavsetra commented 6 years ago

same problem

philipimperato commented 6 years ago

Is this awesome project getting any love? It looks amazing!

@albertnadal should we be expecting a fix?