Closed shennan closed 3 years ago
Sorry I don't known :/ Hope you've found a fix since then. LowDB 3.0 has been released and should have better TS support out of the box. You may want to give it a try.
I would love to use LowDB 3.0 but I think the licensing was blocking me. Has 3.0 moved to an MIT license now? I thought that it became a paid/sponsorship license before?
I'm having trouble porting some old LowDB (version 1.0.0) scripts to TypeScript. Everything is working fine with the types from
@types/lowdb
until I try and extendFileAsync
(in order to add business logic to storage and serialisation).The error:
What am I doing wrong here? It doesn't seem to be anything between the class parenthesis because if I remove everything there then the error still remains. A simple extending of the class doesn't seem possible.