40% of the pastries at Sweet Treats Bakery have a fruit filling. If the bakery has 30 types of pastries, how many types of pastries have a fruit filling?