Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/url-template) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
npm install --save @types/url-template
Summary
This package contains type definitions for url-template (https://github.com/bramstein/url-template).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-template.
index.d.ts
// Type definitions for url-template 2.0.6
// Project: https://github.com/bramstein/url-template
// Definitions by: Marcin Porębski <https://github.com/marcinporebski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare var urlTemplate: UrlTemplate.TemplateParser;
export = urlTemplate;
export as namespace urltemplate;
declare namespace UrlTemplate {
interface TemplateParser {
parse(template: string): Template;
}
interface Template {
expand(parameters: any): string;
}
}
Additional Details
- Last updated: Wed, 30 Aug 2023 19:35:36 GMT
- Dependencies: none
- Global values:
urltemplate
Credits
These definitions were written by Marcin Porębski.