Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
Create react app changes TS type checking for my project

I have a project that I decided to wrap with CRA, but the problem is that after that, I got a huge amount of errors (more than a thousand) that were not in the project before using CRA. I left all the dependencies from the old project (like Typescript), I even specified them in the resolutions block in package.json. I haven't touched any files like tsconfig.json or others. I cloned a second copy of the project to compare the errors, and the same variables in the code have different types, for example

const { data }: AxiosResponse<Response> = yield* call...

In original project data has type:

AxiosResponse<T,D>.data:Response

in CRA project i get

TS2322: Type 'unknown' is not assignable to type 'AxiosResponse'.

How is it possible to solve this problem? Current typescript version is 4.4.4

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!