Theo's Typesafe CultTTC
Theo's Typesafe Cult2y ago
5 replies
Hish.n

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
Contribute to HISHAN03/OnlineClipboard development by creating an account on GitHub.
OnlineClipboard/backend at main · HISHAN03/OnlineClipboard
GitHub
Contribute to HISHAN03/OnlineClipboard development by creating an account on GitHub.
OnlineClipboard/client at main · HISHAN03/OnlineClipboard
Solution
Also it would be good to use some linter like ESLint which has plugins for react/nextjs and typescript to ensure code quality
Was this page helpful?