https://ducin.dev, #typescript playground: https://tsplay.dev/wOKndw
The two TypeScript comments, @ts-ignore and @ts-expect-error, could be useful. Especially the latter one enables us to, kind of, test the behavior of our types, allowing to make sure that a certain type usage fails at compile-time.
00:00 intro
00:33 ts-ignore
01:20 ts-expect-error
02:57 it should fail, but it doesn't
03:47 it should fail, and it does