UNPKG

uri-template

Version:

Parse and expand URI templates as defined by http://tools.ietf.org/html/rfc6570

14 lines (13 loc) 494 B
declare function peg$SyntaxError(message: any, expected: any, found: any, location: any): Error; declare class peg$SyntaxError { constructor(message: any, expected: any, found: any, location: any); format(sources: any): string; } declare namespace peg$SyntaxError { function buildMessage(expected: any, found: any): string; } declare function peg$parse(input: any, options: any): { type: string; parts: any; }; export { peg$SyntaxError as SyntaxError, peg$parse as parse };