-
Notifications
You must be signed in to change notification settings - Fork 4
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
Move server files to typescript #75
Move server files to typescript #75
Conversation
This pull request is being automatically deployed with Vercel (learn more). |
Thanks for your contributions! There are some merge conflicts with the develop branch; can you resolve those? |
await Mongo(); | ||
|
||
return Nonprofit.distinct("_id") as string[]; | ||
return await Nonprofit.distinct("_id"); |
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.
I think as a style guideline, we're not using return await
(see https://eslint.org/docs/rules/no-return-await), except in a try/catch block.
Consider splitting types.ts into several files.
resolve #68