Most @ts-expect-error directives suppress more than you intended. TL;DR The directive silences every error on the next line, not just the one you meant. Split the expression so it sits on the … Continue reading “You’re probably using @ts-expect-error wrong”




