I'm creating Cordova app with TypeScript.
Does anyone know how to use sqlcipher in TypeScript?
I found this very useful extension but I want to use it in TypeScript. Is it possible? or Any other good solutions?
I'm creating Cordova app with TypeScript.
Does anyone know how to use sqlcipher in TypeScript?
I found this very useful extension but I want to use it in TypeScript. Is it possible? or Any other good solutions?
Does anyone know how to use sqlcipher in TypeScript
Your JavaScript is TypeScript. The library : https://github.com/litehelpers/Cordova-sqlcipher-adapter exposes a varaible sqlitePlugin. You can use it with TypeScript very easily:
declare var sqlitePlugin:any;
And you will be in no way more worse off than just JavaScript.
https://basarat.gitbooks.io/typescript/content/docs/types/migrating.html