Open vamsidhar-914 opened 3 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
wanderlust | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 8, 2024 2:14pm |
wanderlust-backend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 8, 2024 2:14pm |
Hey @vamsidhar-914! Thanks for sticking to the guidelines! High five! 🙌🏻
@krishnaacharyaa check it out....tell me if any mistakes to be taken care of..
for tests I might need some help.I didnt touched tests for refactoring
hi @krishnaacharyaa
1.) when i use default Request type for req. it throws me error req.user is not found.so i declared index.d.ts file extended Request type with user field. but again it throws me the same error
so i created a new type for Request and replaced it with that type , and it works fine
2.) when i use the type 'module' in package.json it throws this error,
these are the errors
@vamsidhar-914 please google these, it will be available.
And the request type as discussed would not be actually required, try to come up with alternative
@vamsidhar-914 Hi, Are we good or blocked? Let's have a call and get this in, It is a important feature we need this in, early it is, better it is :)
@krishnaacharyaa sorry! been busy lately.....everything is done except for the type module issue...searched google but couldn't find it.
No worries can we arrange a call we'll debug
can we connect tomorrow morning?
Nights or sat Sun I have office other times
sure....lets connect on sunday
@vamsidhar-914 the earlier we get this, better it is :) Now we have conflicts, it will increase as the time progresses
Summary
refactored backend with typescript
Description
migrated all js files to ts files with all the types.
Issue(s) Addressed
Closes #3
Prerequisites