mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00: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:
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