When using the lib like stated in the readme (see below), the following error occurs:
const overlay = Leaflet.imageOverlay.rotated("../office.png", topleft, topright, bottomleft, {
opacity: 0.7,
interactive: false
}).addTo(mapRef)

Is it me doing something wrong or is something broken? Leaflet = 1.5.1