mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-14 12:30:47 +08:00
sammyjs: 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
34496a8c8f
commit
12b98a4372
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