Removed the extends from the IRouter definition

This commit is contained in:
George Valotasios
2013-12-13 14:22:49 +01:00
parent bdd3ad1e62
commit e9402f9f23
+1 -1
View File
@@ -62,7 +62,7 @@ declare module "express" {
new (method: string, path: string, callbacks: Function[], options: any): Route;
}
interface IRouter<T extends IRouter> {
interface IRouter<T> {
/**
* Map the given param placeholder `name`(s) to the given callback(s).
*