Pokemon Scarlet and Pokemon Violet previews confirm that the games’ new Terastal mechanic will preserve Pokemon same-type attack bonuses.

Source