typescript code review(2-page)

I am beginner to typescript. I decided to convert a js code to ts.I did it using "strict:true" but i dont feel like i have written any typesafe code but i dont get any error.Can anyone have the time to review my code here is my backend code https://github.com/HISHAN03/OnlineClipboard/tree/main/backend and this is my frontend https://github.com/HISHAN03/OnlineClipboard/tree/main/client
GitHub
OnlineClipboard/backend at main · HISHAN03/OnlineClipboard
Contribute to HISHAN03/OnlineClipboard development by creating an account on GitHub.
GitHub
OnlineClipboard/client at main · HISHAN03/OnlineClipboard
Contribute to HISHAN03/OnlineClipboard development by creating an account on GitHub.
Solution:
Also it would be good to use some linter like ESLint which has plugins for react/nextjs and typescript to ensure code quality
Jump to solution
3 Replies
Matvey
Matvey12mo ago
Please use a code formatter like Prettier (http://prettier.io), without a consistent formatting your code is hard to read.
Solution
Alex
Alex12mo ago
Also it would be good to use some linter like ESLint which has plugins for react/nextjs and typescript to ensure code quality
beebae
beebaeOP12mo ago
Thank you for ur time 🙌🏻
Want results from more Discord servers?
Add your server