Page MenuHomePhabricator

Define type for <F>(serverCall: ActionFunc<F>) => F
ClosedPublic

Authored by inka on Sep 22 2022, 7:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 10:02 AM
Unknown Object (File)
Tue, Nov 5, 10:02 AM
Unknown Object (File)
Tue, Nov 5, 10:02 AM
Unknown Object (File)
Tue, Nov 5, 10:02 AM
Unknown Object (File)
Tue, Nov 5, 10:01 AM
Unknown Object (File)
Tue, Nov 5, 9:57 AM
Unknown Object (File)
Oct 20 2024, 10:02 AM
Unknown Object (File)
Oct 10 2024, 5:21 PM

Details

Summary

Linear issue: ENG-1845. Defining a type for <F>(serverCall: ActionFunc<F>) => F for code clarity.

Test Plan

See that it is still possible to remove a user as a friend.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 22 2022, 7:44 AM
Harbormaster failed remote builds in B12384: Diff 17000!
inka requested review of this revision.Sep 22 2022, 7:49 AM
lib/utils/action-utils.js
349 ↗(On Diff #17000)

Nit: probably supposed to be BindServerCall instead of BindSeverCall

lib/utils/action-utils.js
349 ↗(On Diff #17000)

Thank you for noticing!

This revision is now accepted and ready to land.Sep 23 2022, 9:12 AM