From 12b98a437218d4331ceb1f07d78ee3eed7782230 Mon Sep 17 00:00:00 2001 From: Jon Egerton Date: Wed, 21 Aug 2013 09:09:25 +0100 Subject: [PATCH] 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) --- sammyjs/sammyjs.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/sammyjs/sammyjs.d.ts b/sammyjs/sammyjs.d.ts index 34404d1368..40fdab6679 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;