diff --git a/routie/routie.d.ts b/routie/routie.d.ts index c9dd6974b..9129043a8 100644 --- a/routie/routie.d.ts +++ b/routie/routie.d.ts @@ -1,4 +1,4 @@ -// Type definitions for routie 0.3.0 +// Type definitions for routie 0.3.2 // Project: https://github.com/jgallen23/routie // Definitions by: Adilson // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -12,4 +12,6 @@ interface Route { toURL(params: any): string; } -declare function routie(path: string, fn: Function): void; \ No newline at end of file +declare function routie(path: string): void; +declare function routie(path: string, fn: Function): void; +declare function routie(routes: { [key: string]: Function }): void; \ No newline at end of file