Skip to content

Commit

Permalink
Release 1.0.0-alpha.18.3 🚀
Browse files Browse the repository at this point in the history
- Fixed RequestHandler Type
  • Loading branch information
Jonathan committed Apr 20, 2018
1 parent 53df91a commit 61e646c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onixjs/core",
"version": "1.0.0-alpha.18.2",
"version": "1.0.0-alpha.18.3",
"description": "The High-Performance SOA Real-Time Framework for Node.JS",
"main": "dist/src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class OnixJS {
* @description Current Onix Version.
*/
get version(): string {
return '1.0.0-alpha.18.2';
return '1.0.0-alpha.18.3';
}
/**
* @property server
Expand Down
4 changes: 3 additions & 1 deletion src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ export interface IViewHandler {
}

export interface IRouteHandler {
(req: OnixHTTPRequest, res: http.ServerResponse): Promise<any> | void;
(req: OnixHTTPRequest, res: http.ServerResponse, next: () => void): Promise<
any
> | void;
}

export interface IRouteParamHandler {
Expand Down

0 comments on commit 61e646c

Please sign in to comment.