Skip to content

Instantly share code, notes, and snippets.

@ankitamasand
Created April 17, 2019 18:15
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 ankitamasand/a61abac533611b9d6edd9fbe479b88dd to your computer and use it in GitHub Desktop.
Save ankitamasand/a61abac533611b9d6edd9fbe479b88dd to your computer and use it in GitHub Desktop.
interface Order {
(customerId: number, modelId: number): boolean
}
let orderFn: Order = function (cId, mId) {
// processing the order
return true // processed successfully!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment