Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

131
Vistas
Why the type errors are blocking the UI

I started a new create react app with typescript and for any type error, the ui is covered by this black screen showing errors, i want to see type errors only in terminal

Compiled with problems:X

ERROR in src/App.tsx:10:45

TS2322: Type 'boolean' is not assignable to type 'string'. 8 | 9 |

10 | <Route path="/product" element={hi}> | ^^ 11 | 12 | </> 13 | );

enter image description here

Any way to fix this?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Assuming you are using create-react-app,

1- If you want to ignore for whole project. Create a ".env" file in the root of the project and put inside it these settings.

TSC_COMPILE_ON_ERROR=true
ESLINT_NO_DEV_ERRORS=true

2-If you want to ignore just that line. Just above the line put this comment.

// @ts-ignore
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda