The difference between @ts-ignore and @ts-expect-error | Stefan Judis Web Development
@ts-expect-errorwill let you know when there’s no TypeScript error to silence and when it has become useless.@ts-ignorewill stay put and sit silently wherever you placed it.
Not only did I not know the difference between @ts-ignore and @ts-expect-error, I was totally unaware there was such a directive as @ts-expect-error.