don/cordova-filechooser

index.ts Showing has no exported member for FileChooser

Opened this issue · 1 comments

Guys , i am trying to import in my ionic 2 project , but while importing it showing " Has no exported member for file-chooser ", i really struggled lot for this .

Have you tried using this ?
import { FileChooser } from '@ionic-native/file-chooser';

and then add it to your constructor like this constructor(private filechooser : FileChooser) {}