i am woking
i am working on ionic 3 app. i want to convert image in base 64 i install base64 by npm and import it in my module.ts folder. when i am using in my component it is giving error while i select image. i dont know what is the issue. please help me how to resolve this.This one is my error
Uncaught (in promise): TypeError: Object(...) is not a function
TypeError: Object(...) is not a function
at Base64.encodeFile (vendor.js:72661)
at main.js:3380
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:4982)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:4973)
at t.invokeTask (polyfills.js:3)
at c (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:4973)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
any help would be appreciated