You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be an inconsistency in how tsc and tsgo handle the placement of @ts-expect-error directives when dealing with TS2769 (No overload matches this call) errors.
import{reduce}from'lodash';exportfunctionfoo(state: any){// tsc is happy with @ts-expect-error here// @ts-expect-error FIXME (TS2769) No overload matches this call.; Remove this comment to see full error messagereturnreduce({foo: 'bar'},(fuzz: number)=>{returnfuzz;},// tsgo is happy with @ts-expect-error here{});}