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:
Jon Egerton
2013-08-21 00:08:34 +01:00
parent 9a673597f0
commit 7494a3d556
-1
View File
@@ -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;