Skip to content

Commit

Permalink
seems to fix #86 :|
Browse files Browse the repository at this point in the history
  • Loading branch information
clemos committed Dec 18, 2015
1 parent 3a2c54c commit fffd4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/npm/express/Middleware.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package js.npm.express;
import haxe.extern.Rest;
import js.support.Callback;

extern interface Middleware {}

abstract AbstractMiddleware( Dynamic )
from MiddlewareErrorHandler to MiddlewareErrorHandler
from MiddlewareResponder to MiddlewareResponder
Expand All @@ -16,8 +18,6 @@ typedef MiddlewareErrorHandler = Dynamic -> Request -> Response -> Callback0 ->
typedef MiddlewareParam<P> = Request -> Response -> MiddlewareNext -> P -> Void;
typedef MiddlewareMethod = Route->Middleware->Void;

extern interface Middleware {}

@:build( util.CopyMethods.build([
'post',
'put',
Expand Down

0 comments on commit fffd4f5

Please sign in to comment.