Currently, I am utilizing the most recent @types for leaflet in my project (v1.2.5), however, they do not align with the latest version of leaflet (1.3.x).
Specifically, their LayerGroup interface lacks a setZIndex property which I need to include by extending the interface so that I can call the function in my TypeScript source code.
Below is the current type definition for a LayerGroup:
/* Type definition here */
Is there any way for me to introduce an additional type definition in my project to add the missing property?
Although I could submit a pull request to incorporate this change in the @types repository, as a temporary solution to continue development, I am looking for an alternative.