added URITemplate for urijs and knockout.punches

- added UriTemplate class + expand method for urijs
- added knockout.punches module + enableAll
This commit is contained in:
stephenlautier
2014-04-17 23:14:33 +02:00
parent 48ad0ea753
commit 359fb827ee
2 changed files with 18 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
interface KnockoutPunchesStatic {
enableAll(): void;
}
interface KnockoutStatic {
punches: KnockoutPunchesStatic;
}
declare module "knockout.punches" {
export = punches;
}
declare var punches: KnockoutPunchesStatic;
+5
View File
@@ -0,0 +1,5 @@
declare class URITemplate{
constructor();
constructor(template: string);
expand(vals: Object): string;
}