You can use // @ts-nocheck at the top of the file
Files

Look how its done in the code above.
Check references.
https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/ https://github.com/microsoft/TypeScript/wiki/Type-Checking-JavaScript-