Closed luluhoc closed 2 years ago
One fix is by making a new interface that extends the Low
class to include the chain.
interface NewLowDb extends LowSync<MyDatabase> {
chain: ObjectChain<MyDatabase>; // Needed to include the chain function
}
Then wherever you're setting up your database, you use the new interface.
Thanks @ste163
I've updated docs how to use lodash and TypeScript together. I haven't tested it thoroughly but it should work.
When i'm trying to use with lodash I'm getting