Pathology

17 years old pregnant woman has scattered small, raised lesions on trunk and axillary freckles. The mode of inheritance of this condition