HomePhabricator
Diffusion Comm 687e72f04b62

Enable typechecking for action functions

Description

Enable typechecking for action functions

Summary:
Right now action functions aren't getting typechecked because we don't have a way to type a "bind" function that sets the first parameter of an input function and returns a function that takes the rest of the parameters.

This diff changes how we write action functions to make them possible to typecheck. It revealed several type errors (which I fixed).

Test Plan: Flow

Reviewers: palys-swm

Reviewed By: palys-swm

Subscribers: KatPo, zrebcu411, Adrian, atul, subnub

Differential Revision: https://phabricator.ashoat.com/D897

Details

Provenance
ashoatAuthored on Mar 12 2021, 1:22 PM
Reviewer
tomek
Differential Revision
Restricted Differential Revision
Parents
rCOMM65c7fe8d101e: [lib] Kill connect function and associated utilities
Branches
Unknown
Tags
Unknown

Event Timeline