Considering only type matchups a grass type would beat the electric type however it depends on the Pokemon and there stats and moves so the electric type can win.
Ground type Pokémon as electric moves have no effect on them.
Grass and water are best, as is ground.
with using a rock or ground type Pokemon, the best Pokemon you can use to defeat a electric type is rhyperior ok!?
Grass or Lightning
rock or ground
Any kind of Grass and Electric pokemon.
A Grass-type Pokemon.
Ground type Pokémon as electric moves have no effect on them.
Grass and water are best, as is ground.
with using a rock or ground type Pokemon, the best Pokemon you can use to defeat a electric type is rhyperior ok!?
Most electric type Pokemon can learn flash.
Grass or Lightning
grass types
rock or ground
Ground is super-effective against electricGround type pokemon.
Electric Pokemon are weak against Ground Type attacks. If you are at the Mauville Gym, it might help you to get a Fighting or Fire Type since Magnemite and Magneton are Steel Types as well and are weak against those kind of attacks.
It is a hybrid between grass and ground