mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Merge pull request #21666 from luckysoni/pr/backbone-history-route-add-param-type
Backbone.History.route may accept string or RegExp as first argument
This commit is contained in:
Vendored
+1
-1
@@ -392,7 +392,7 @@ declare namespace Backbone {
|
||||
decodeFragment(fragment: string): string;
|
||||
getSearch(): string;
|
||||
stop(): void;
|
||||
route(route: string, callback: Function): number;
|
||||
route(route: string|RegExp, callback: Function): number;
|
||||
checkUrl(e?: any): void;
|
||||
getPath(): string;
|
||||
matchRoot(): boolean;
|
||||
|
||||
Reference in New Issue
Block a user