Installation
npm install --save @types/uritemplate
Summary
This package contains type definitions for uritemplate (https://github.com/fxa/uritemplate-js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uritemplate.
export class UriTemplate {
expand(data: {}): string;
}
export interface UriTemplateErrorOptions {
expressionText: string;
message: string;
position: number;
}
export class UriTemplateError {
constructor(options: UriTemplateErrorOptions);
}
export function parse(templateText: string): UriTemplate;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Chui Tey, and Ruben Taelman.