For example this, at the top of a node.js source file:
#!/usr/bin/env node
...or unused local variables, etc.
Late to the party but in VSCode you can write // @ts-ignore
just before the line you want to ignore.
It is important to notice that it will just ignore the line after the declaration.
There is more info about it in the official documentation.