journeyapps / node-sqlcipher

SQLCipher bindings for Node
https://journeyapps.com
BSD 3-Clause "New" or "Revised" License
207 stars 66 forks source link

typescript support missing #86

Closed mugi-luffy closed 2 years ago

mugi-luffy commented 3 years ago

typescript support would be great or even type information through: https://definitelytyped.org/ Are there any plans for this in the future?

rkistner commented 2 years ago

Added in #91 / v5.3.0.

mugi-luffy commented 2 years ago

I just updated to the latest version 5.3.0, but vscode is still complaining about missing type definitions:

image

rkistner commented 2 years ago

Double check that you have 5.3.0, and reloading the project.

Also try this form:

import * as sqlcipher from '@journeyapps/sqlcipher';
mugi-luffy commented 2 years ago

thnx reloading the project worked