https://linear.app/comm/issue/ENG-10205/update-flow-to-02691
fieldName is '"name" | "description" | "color" | "avatar"`.
Despite this, flow still has a problem with casting this:
{
...threadInfoToUpdate.timestamps,
[fieldName]: time,
}as ThreadTimestamps:
Cannot cast object literal to `ThreadTimestamps` because indexed object literal [1] is incompatible with exact `ThreadTimestamps` [2]. [incompatible-indexer]
I tried adding typehints etc.
It looks to me like an issue with flow, so I'm silencing this error.
Depends on D15099