Skip to content

Instantly share code, notes, and snippets.

@bcherny
Created June 10, 2019 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcherny/f221f8d6345d697ce36cf54172c132f1 to your computer and use it in GitHub Desktop.
Save bcherny/f221f8d6345d697ce36cf54172c132f1 to your computer and use it in GitHub Desktop.
Flow: $Arguments
type $Arguments<F> = $Call<<A: $ReadOnlyArray<mixed>>((...A) => mixed) => A, F>;
type $MethodArguments<O: {}, F: $Keys<O>> = $Arguments<
$NonMaybeType<$ElementType<O, F>>,
>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment