added type-component as a dep