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)
Sat, Nov 16, 5:23 PM
Unknown Object (File)
Sat, Nov 16, 5:23 PM
Unknown Object (File)
Sat, Nov 16, 5:21 PM
Unknown Object (File)
Sat, Nov 16, 5:19 PM
Unknown Object (File)
Fri, Nov 8, 3:44 AM
Unknown Object (File)
Fri, Nov 8, 12:08 AM
Unknown Object (File)
Oct 15 2024, 7:25 PM
Unknown Object (File)
Oct 15 2024, 7:25 PM
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