Skip to content

Instantly share code, notes, and snippets.

@ktutnik
Last active April 29, 2019 05:06
Show Gist options
  • Save ktutnik/d645c1ad61f75bbca5c4289348a61434 to your computer and use it in GitHub Desktop.
Save ktutnik/d645c1ad61f75bbca5c4289348a61434 to your computer and use it in GitHub Desktop.
Express typescript example
app.use(async (req, res) => {
const user:UserInfo = res.body
//other process use the user data
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment