Anyone saying RPGs are in decline right now is either insane or began playing games after 2012.
But it seems they are. Before that there was a calm - there were people who were like, gather the team and quitely working on their projects.
Bit even mainstream shit was an RPG - Bethesda's games were bad, but they were RPG's more, than new glorious Witcher 3 which is a new industry standart for RPG.
And all the decent project are made by people with old conservative look on PRGs.
Disco Elysium looks just like last surge of vitality of a dying man, cause Estonia somehow avoided all-planet dumbing down, or most likely these dudes in Estonia.
What will new generation do with RPG?
Probably, we need to look ar Pillars of Boredom/SJWnazism, and Torment-yeah-that-right-it-will-be-great-Numazuma to answer that question, as e.g. in these games new generation of writers showed what they worth.