marcj / angular2-localstorage

Angular 2+ decorator to save and restore variables/class properties to HTML5 LocalStorage automatically.
303 stars 107 forks source link

Angular 2 Final Release compatibility #64

Closed blubberbo closed 8 years ago

blubberbo commented 8 years ago

Hi,

I saw this was updated 13 days ago. Is it compatible with the Angular 2 Final Release?

Thank you

ghost commented 8 years ago

Would be interested too, if this can be used for production it seems really well done, respect.

AilisObrian commented 8 years ago

Using this with angular2@2.0.2

ERROR in [default] /Users/obrian/projects/___/___/node_modules/angular2-localstorage/LocalStorageEmitter.ts:46:8
Module '"/Users/obrian/projects/___/___/node_modules/@angular/core/src/facade/lang"' has no exported member 'Type'.

ERROR in [default] /Users/obrian/projects/___/___/node_modules/angular2-localstorage/LocalStorageEmitter.ts:47:8
Module '"/Users/obrian/projects/___/___/node_modules/@angular/core/src/di"' has no exported member 'provide'.
AilisObrian commented 8 years ago

github:marcj/angular2-localstorage#1a5b9fb31821706ffbde7da97056194f6100c515 works.