I was wondering why it was working on some files and not working on others and then after 1 hour I found that I had put a // @ts-nocheck at the beginning of my file some weeks ago ...
// @ts-nocheck