For ospf it has syntax
vyos@r1-roll# set protocols ospf area 24 area-type Possible completions: normal Normal OSPF area > nssa Nssa OSPF area > stub Stub OSPF area
Add ability to set area-type stub to ospfv3
set protocols ospfv3 area 24 area-type stub
Frr config
! router ospf6 area 24 stub