Plans to convert the upper levels of a historic Darlington building, which was formerly the site of Mrs Palmer's Pantry, into 5 apartments have been approved.