Page MenuHomePhabricator

[web] Replace $FlowFixMe with any
ClosedPublic

Authored by michal on Mar 19 2024, 7:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 12:49 PM
Unknown Object (File)
Thu, Apr 25, 12:48 PM
Unknown Object (File)
Fri, Apr 5, 1:08 PM
Unknown Object (File)
Sun, Mar 31, 11:55 AM
Unknown Object (File)
Sat, Mar 30, 11:34 AM
Unknown Object (File)
Mar 26 2024, 4:28 PM
Unknown Object (File)
Mar 26 2024, 4:21 PM
Unknown Object (File)
Mar 26 2024, 5:26 AM
Subscribers
None

Details

Summary

Suggested in D11275.

Test Plan

Run flow in web.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

web/shared-worker/worker/identity-client.js
40โ€“42 โ†—(On Diff #38171)

The error is "Cannot get identityClient[message.method] because an index signature declaring the expected key / value type is missing in IdentityServiceClientWrapper" so the error is with the indexing operations itself.

That's why I put the any cast before the indexing operator and not the more obvious (identityClient[message.method]: any)

This revision is now accepted and ready to land.Mar 19 2024, 6:00 PM