I don't know if it's the best solution, but according to the documentation, I added "noImplicitThis": false to the compilerOptions object inside tsconfig.json and I don't get any error now
"noImplicitThis": false
compilerOptions
tsconfig.json