angular2-localstorage icon indicating copy to clipboard operation
angular2-localstorage copied to clipboard

Ionic 2 RC0 Build Error :Supplied parameters do not match any signature of call target

Open mmirzaee opened this issue 8 years ago • 2 comments

Hi, I think I found an issue in angular2-localstorage that fail the build process.

to fix this edit "/node_modules/angular-2-local-storage/dist/LocalStorageService.d.ts" and replace following line" constructor(config: ILocalStorageServiceConfig); with this : constructor(config?: ILocalStorageServiceConfig); this make the config parameter optional.

mmirzaee avatar Nov 15 '16 13:11 mmirzaee

Are you using AOT? AOT has problems with typed injected parameters.

SimonSchick avatar Dec 07 '16 04:12 SimonSchick

FYI this is posted against the wrong repo. @mmirzaee's issue is with angular-2-local-storage, not angular2-local-storage.

https://github.com/phenomnomnominal/angular-2-local-storage

PS the issue has since been fixed.

elwynelwyn avatar Dec 10 '16 04:12 elwynelwyn