Created
April 14, 2019 17:33
-
-
Save nicgirault/86f7353677240139756bd27977ec33b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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