Traditionally, all L.LeafletEvent returns layer(s) as an array - but has kept the name to e.layer. Save function appears to be the only degenerate case and breaks TypeScript checks for project that uses L.LeafletDraw Types.
Additionally, it homogenise the naming convention of such event returns.
Traditionally, all L.LeafletEvent returns layer(s) as an array - but has kept the name to e.layer. Save function appears to be the only degenerate case and breaks TypeScript checks for project that uses L.LeafletDraw Types.
Additionally, it homogenise the naming convention of such event returns.