NeahNew/node_modules/url-template/lib/url-template.d.ts
2025-05-03 15:36:20 +02:00

8 lines
284 B
TypeScript

export type PrimitiveValue = string | number | boolean | null;
export interface Template {
expand(context: Record<string, PrimitiveValue | PrimitiveValue[] | Record<string, PrimitiveValue | PrimitiveValue[]>>): string;
}
export function parseTemplate(template: string): Template;