Sage / f-express

express wrapper for f-promise
MIT License
0 stars 1 forks source link

express.Router() doesn't work #3

Open tchambard opened 7 years ago

tchambard commented 7 years ago

Hi Bruno,

express.Router() call should work as with standard express, but I got the following error :

TypeError: express.Router is not a function

It seems you forgot to export :

export function Router(options?: RouterOptions): core.Router;
tchambard commented 7 years ago

same for express.static(...)