I think you have to take a break. Step back for a bit. When you come back, find out what really interested you in tech in the first place and follow that. The fact you think 300+ people are applying to the same jobs means the market might be saturated with those skills. Do you think you might have let your own skill set stagnate?
> Do you think you might have let your own skill set stagnate? yes, definitely. although i worked a lot with node and react, building electron apps, cli tools, browsers extensions - but i just don't enjoy it anymore. and i don't have experience building large scale production apps with the latest trendy stacks. > The fact you think 300+ people are applying to the same jobs means the market might be saturated with tho…
I doubt you are a dinosaur for not learning Typescript. You should be able to pickup Typescript if you are motivated, but that is hard to find when you are depressed. From your description it seems that you have all the background skills necessary, even though you have not had the energy to keep up with all the latest trends due to depression and other health issues.
As others said, you need to work on the root cause (maybe burnout or depression). You should contact a professional to help you manage this and get your energy back