Gr3q / types-cjs

Typescript declarations for CJS - Cinnamon JavaScript
MIT License
5 stars 2 forks source link

Property 'type' does not exist on type 'Event'.ts #5

Closed jonath92 closed 2 years ago

jonath92 commented 2 years ago

using type() on an event gives the error:

Property 'type' does not exist on type 'Event'

But it exist: https://gjs-docs.gnome.org/clutter8~8_api/clutter.event#method-type

Gr3q commented 2 years ago

Yes it is, but it was conflicting with the type prop on the more specific event types.

I think I will just inverse it and remove the prop instead from all the other ones.

jonath92 commented 2 years ago

close as fixed