When I try to add a document to the localbase it is showing me error!
my code..
let dB = new Localbase('db'); dB.collection('users').add({ id:1 name: 'random', mail:'any@gmail.com', });
and in my JavaScript import Localbase from "localbase" // Could not find a declaration file for module 'localbase'.
When I try to add a document to the localbase it is showing me error! my code..
let dB = new Localbase('db'); dB.collection('users').add({ id:1 name: 'random', mail:'any@gmail.com', });
and in my JavaScript import Localbase from "localbase" // Could not find a declaration file for module 'localbase'.