Typescript

Stop compiler-checks

This is useful when you just want to comment out a function for testing and the typescript compiler shouts at you for having an unused var/function.

  • @ts-nocheck: Stops the compiler from checking the entire file
  • @ts-ignore: Stops the compiler from checking the next line