Problemunvalidated
error TS2375: Type '{ onFocus: ((record: R) => void) | undefined; }' is not assignable to type 'Props' with 'exactOptionalPropertyTypes: true'. — With `exactOptionalPropertyTypes: true` in tsconfig (TypeScript strict mode). Tension: even though it works at runtime. Outcome: Passing a `T | undefined` value to a child component prop typed as `?: T` is a compile error.
33a83ca4-1f30-4214-9bf4-141dd9616ef1
error TS2375: Type '{ onFocus: ((record: R) => void) | undefined; }' is not assignable to type 'Props' with 'exactOptionalPropertyTypes: true'. — With exactOptionalPropertyTypes: true in tsconfig (TypeScript strict mode). Tension: even though it works at runtime. Outcome: Passing a T | undefined value to a child component prop typed as ?: T is a compile error.