We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I couldn't find any Typescript support for this library, does it exist?
Many thanks!
The text was updated successfully, but these errors were encountered:
any news on this ?
Sorry, something went wrong.
I'm interested also. I'm obliged to cast db as any to modify the createId method:
// add basic getById methods db._.mixin(lodashId); // add collection() methods to remove magic strings db._.mixin({ collection: function(obj) { return obj['col']; } }); // override defaults from lodashId (db._ as any).id = '_id'; (db._ as any).createId = (collection: any, doc: any) => { return `${name}@${nanoid(10)}`; };
Successfully merging a pull request may close this issue.
Hello, I couldn't find any Typescript support for this library, does it exist?
Many thanks!
The text was updated successfully, but these errors were encountered: