Page MenuHomePhabricator

[web] Replace $FlowFixMe with any
ClosedPublic

Authored by michal on Mar 19 2024, 7:39 AM.
Tags
None
Referenced Files
F1753606: D11353.diff
Tue, May 14, 4:35 AM
Unknown Object (File)
Thu, May 2, 4:42 PM
Unknown Object (File)
Thu, Apr 25, 12:49 PM
Unknown Object (File)
Thu, Apr 25, 12:48 PM
Unknown Object (File)
Apr 5 2024, 1:08 PM
Unknown Object (File)
Mar 31 2024, 11:55 AM
Unknown Object (File)
Mar 30 2024, 11:34 AM
Unknown Object (File)
Mar 26 2024, 4:28 PM
Subscribers
None

Details

Summary

Suggested in D11275.

Test Plan

Run flow in web.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

web/shared-worker/worker/identity-client.js
40–42

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