mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Fix tests
This commit is contained in:
1 parent
8867eb90b8
commit
f5ad5d5d01
1 file changed
+10
-10
Vendored
+10
-10
@@ -42,19 +42,19 @@ declare module ng.ui {
|
||||
}
|
||||
|
||||
interface IUrlRouterProvider extends IServiceProvider {
|
||||
when(whenPath: string, toPath: string): IUrlRouterProvider;
|
||||
when(whenPath: RegExp, toPath: string): IUrlRouterProvider;
|
||||
when(whenPath: IUrlMatcher, toPath: string): IUrlRouterProvider;
|
||||
when(whenPath: string, handler: ($injector?: ng.auto.IInjectorService, $location?: ng.ILocationService) => any): IUrlRouterProvider;
|
||||
when(whenPath: RegExp, handler: ($injector?: ng.auto.IInjectorService, $location?: ng.ILocationService) => any): IUrlRouterProvider;
|
||||
when(whenPath: IUrlMatcher, hanlder: ($injector?: ng.auto.IInjectorService, $location?: ng.ILocationService) => any): IUrlRouterProvider;
|
||||
when(whenPath: string, handler: any[]): IUrlRouterProvider;
|
||||
when(whenPath: RegExp, handler: Function): IUrlRouterProvider;
|
||||
when(whenPath: RegExp, handler: any[]): IUrlRouterProvider;
|
||||
when(whenPath: RegExp, toPath: string): IUrlRouterProvider;
|
||||
when(whenPath: IUrlMatcher, hanlder: Function): IUrlRouterProvider;
|
||||
when(whenPath: IUrlMatcher, handler: any[]): IUrlRouterProvider;
|
||||
otherwise(path: string): IUrlRouterProvider;
|
||||
otherwise(handler: ($injector?: ng.auto.IInjectorService, $location?: ng.ILocationService) => any): IUrlRouterProvider;
|
||||
when(whenPath: IUrlMatcher, toPath: string): IUrlRouterProvider;
|
||||
when(whenPath: string, handler: Function): IUrlRouterProvider;
|
||||
when(whenPath: string, handler: any[]): IUrlRouterProvider;
|
||||
when(whenPath: string, toPath: string): IUrlRouterProvider;
|
||||
otherwise(handler: Function): IUrlRouterProvider;
|
||||
otherwise(handler: any[]): IUrlRouterProvider;
|
||||
rule(handler: ($injector?: ng.auto.IInjectorService, $location?: ng.ILocationService) => any): IUrlRouterProvider;
|
||||
otherwise(path: string): IUrlRouterProvider;
|
||||
rule(handler: Function): IUrlRouterProvider;
|
||||
rule(handler: any[]): IUrlRouterProvider;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user