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
F3347943: D5215.diff
Fri, Nov 22, 1:37 PM
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

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

Nit: probably supposed to be BindServerCall instead of BindSeverCall

lib/utils/action-utils.js
349

Thank you for noticing!

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