Fire was quickly extinguished before spreading to adjoining house and garage. Homeowner was using a generator during a power outage, when the power came back on they turned off the generator but left it plugged into the utility power causing the generator to catch fire and spreading to the shed.