From 7494a3d55683859d46ec75535364dc536608a0e0 Mon Sep 17 00:00:00 2001 From: Jon Egerton Date: Wed, 21 Aug 2013 00:08:34 +0100 Subject: [PATCH] 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) --- sammyjs/sammyjs.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/sammyjs/sammyjs.d.ts b/sammyjs/sammyjs.d.ts index 34404d136..40fdab667 100644 --- a/sammyjs/sammyjs.d.ts +++ b/sammyjs/sammyjs.d.ts @@ -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;