Indies or small third-party titles will still be releasing into the 2030s, likely around the time Switch 2's successor launches.
I'll say 2032. Switch is going to possibly surpass Atari 2600 which had its final North American official releases in 1991 and Acid Drop in PAL Regions in 1992.
Lifetime Sales Predictions
Switch: 161 million (was 73 million, then 96 million, then 113 million, then 125 million, then 144 million, then 151 million, then 156 million)
PS5: 122 million (was 105 million, then 115 million) Xbox Series X/S: 38 million (was 60 million, then 67 million, then 57 million. then 48 million. then 40 million)
Switch 2: 120 million (was 116 million)
PS4: 120 mil (was 100 then 130 million, then 122 million) Xbox One: 51 mil (was 50 then 55 mil)
3DS: 75.5 mil (was 73, then 77 million)
"Let go your earthly tether, enter the void, empty and become wind." - Guru Laghima