I have an ionic2 app with NativeStorage plugin and I'm following the instructions for storing values as shown below. However, I get a Typescript error and it won't let me build the app
[ts] Supplied parameters do not match any signature of call target.
(method) NativeStorage.setItem(reference: string, value: any): Promise<any>
Stores a value
Details
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: Not installed
ios-sim version: 4.1.1
OS: OS X El Capitan
Node Version: v6.3.1
Xcode version: Xcode 8.1 Build version 8B62
I have an ionic2 app with NativeStorage plugin and I'm following the instructions for storing values as shown below. However, I get a Typescript error and it won't let me build the app
import { NativeStorage } from 'ionic-native';
Error
Details
Cordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.3 Ionic CLI Version: 2.1.13 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.46 ios-deploy version: Not installed ios-sim version: 4.1.1 OS: OS X El Capitan Node Version: v6.3.1 Xcode version: Xcode 8.1 Build version 8B62
Package.json