allPropsNull should not consider type property