Glossary: TypeScript Beyond the Basics
@ts-expect-error
Also written: // @ts-expect-error
A comment placed above a line you can't fix yet that tells `tsc` to expect an error there. `tsc` reports it when the line no longer needs it.
Glossary: TypeScript Beyond the Basics
Also written: // @ts-expect-error
A comment placed above a line you can't fix yet that tells `tsc` to expect an error there. `tsc` reports it when the line no longer needs it.