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

166
Vistas
.TS File unable to return JSX

I want to write a function which will return below statement. The function is writen in .ts file. I am new to type script and still learning it.


function intitalizeApp() {    

  <React.StrictMode>
    <Loading />
  </React.StrictMode>,
  document.getElementById('root')
  
}

The problem i am facing is that show me red underline but the same code work fine when i am putting in .tsx file.

Please click to see the image

Can anybody point me why i am seeing red line when i am putting in .ts file or there is any other issue?

about 4 years ago · Juan Pablo Isaza
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