Home > Software design >  Visual Studio Code Javascript Intellisense not working on event object properties
Visual Studio Code Javascript Intellisense not working on event object properties

Time:02-21

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?

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

  • Related