typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
19 lines (15 loc) • 523 B
TypeScript
// Type definitions for uri-templates 0.1.2
// Project: https://github.com/geraintluff/uri-templates
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'uri-templates' {
function utpl(template: string): utpl.URITemplate;
module utpl {
export interface URITemplate {
fillFromObject(vars: Object): string;
fill(callback: (varName: string) => string): string;
fromUri(uri: string): Object;
}
}
export = utpl;
}