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)
Mon, Apr 22, 8:54 AM
Unknown Object (File)
Sun, Apr 21, 11:39 AM
Unknown Object (File)
Sun, Apr 21, 11:39 AM
Unknown Object (File)
Sun, Apr 21, 11:39 AM
Unknown Object (File)
Sun, Apr 21, 11:39 AM
Unknown Object (File)
Sun, Apr 21, 11:38 AM
Unknown Object (File)
Sun, Apr 21, 11:34 AM
Unknown Object (File)
Sun, Apr 7, 7:36 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
Lint Not Applicable
Unit
Tests Not Applicable

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