Skip to content

Instantly share code, notes, and snippets.

@nicgirault
Created April 14, 2019 17:33
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 nicgirault/86f7353677240139756bd27977ec33b6 to your computer and use it in GitHub Desktop.
Save nicgirault/86f7353677240139756bd27977ec33b6 to your computer and use it in GitHub Desktop.
import {Response, NextFunction} from 'express'
interface SomeRequest {
body: {
data: number[]
}
}
const someRouteHandler = (req: SomeRequest, res: Response, next: NextFunction) => {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment