-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript error with cordova-sqlite adapter #73
Comments
Hello, @julienkermarec have you solve this issue? |
No, i have always this problem. The compilation works, but i have this typescript error |
import PouchDB from "pouchdb";
import PouchCdvAdapter from "pouchdb-adapter-cordova-sqlite";
PouchDB.plugin(PouchCdvAdapter); works for me. |
@julienkermarec, hope you already solved. This works for me:
note the "as any" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have a typescript error with the cordova-sqllite adapter :
Argument of type '{adapter:"cordova-sqlite";} is not assignable to parameter of type 'FruitDOWNAdapterConfiguration' Types of property 'adapter' are incompatible. Type "cordova-sqlite" is not assignable to type '"fruitdown"'
The text was updated successfully, but these errors were encountered: