The // @ts-ignore comment enables the Typescript compiler to ignore the line below it.
// @ts-ignore
How can one ignore a whole block of code with Typescript?
If you don't need typesafe, just bring block to a new separated file and change the extension to .js,.jsx