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

112
Vistas
Visual Studio Code Javascript Intellisense not working on event object properties

I noticed when trying to call the .target property on the event parameter i'm passing thru, the intellisense doesn't recognize and give me options of the available properties or methods.

Is this normal functionality or is there a way to work around this?

https://i.stack.imgur.com/7rN04.png

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

0

You should be able to make it work by using JSDoc type annotations:

/**
 * @param event {YourTypeHere}
 */
let sharePhoto = function (event) {
    // TODO: Write code
}

For example, if you type Event in between the brackets:

A Visual Studio Code screenshot showing that IntelliSense works after giving 'event' an 'Event' type annotation

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