Skip to content

Instantly share code, notes, and snippets.

@Markonis
Created March 18, 2019 16:08
Show Gist options
  • Save Markonis/9f2a6b218f5cba0421be31bed56a220f to your computer and use it in GitHub Desktop.
Save Markonis/9f2a6b218f5cba0421be31bed56a220f to your computer and use it in GitHub Desktop.
export type ApiHandler<TInput, TOutput> =
(data: TInput) => Promise<TOutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment