Skip to content

Commit

Permalink
Merge pull request #128 from EOSIO/express-type
Browse files Browse the repository at this point in the history
Declare `Express` type on watcher property
  • Loading branch information
flux627 authored Feb 21, 2019
2 parents 4ab8dda + 568be7e commit ff84e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExpressActionWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class ExpressActionWatcher extends BaseActionWatcher {
/**
* @param port The port to use for the Express server
*/
public express = express()
public express: express.Express = express() // How expressive
private server: http.Server | null = null
constructor(
protected actionReader: AbstractActionReader,
Expand Down

0 comments on commit ff84e5a

Please sign in to comment.