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, Jan 7, 3:29 PM
Unknown Object (File)
Sat, Jan 4, 4:01 AM
Unknown Object (File)
Mon, Dec 30, 7:49 PM
Unknown Object (File)
Sun, Dec 29, 1:13 AM
Unknown Object (File)
Sun, Dec 29, 1:13 AM
Unknown Object (File)
Sat, Dec 28, 2:29 PM
Unknown Object (File)
Sat, Dec 28, 12:13 AM
Unknown Object (File)
Thu, Dec 26, 3:38 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
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