-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
adding types #15
base: master
Are you sure you want to change the base?
adding types #15
Conversation
/** | ||
* @typedef TestValue | ||
* @property {string} key | ||
* @property {number} value | ||
*/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this is the best option, but its the one i found for jsdoc, it comes along with:
Line 129 in 997a871
let results = /** @type {TestValue[]} */ ( await ComfyDB.Search( { where: { key: { contains: "increment" } } } ) ); |
Haven't ran the tests because i did not have mongo |
lib/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
depending on how it's deployed this might have to be removed
I'm still having issues with the test file receiving types