mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Resolve syntax issue with route overloads
Resolve issue with route overloads by removing the route overload that returns void in favour of those that return Application (this matches the library code)
This commit is contained in:
1 parent
9a673597f0
commit
7494a3d556
1 file changed
-1
Vendored
-1
@@ -81,7 +81,6 @@ declare module Sammy {
|
||||
$element(selector?: string): JQuery;
|
||||
after(callback: Function): Application;
|
||||
any(verb: string, path: string, callback: Function): void;
|
||||
route(verb: string, path: string, callback: Function): void;
|
||||
around(callback: Function): Application;
|
||||
before(options: any, callback: Function): Application;
|
||||
bind(name: string, callback: Function): Application;
|
||||
|
||||
Reference in new issue
Block a user