Quoted By:
For every mainline game for Gen 7 onwards, you must choose one of the starter typings, and you are forced to stick with that one forever for every new generation succeeding the last, even when choosing new files.
This includes fan games (if they adhere to grass/fire/water) and hacks.