*/
public resolve(variables: Record<string, unknown>): string {
for (const comp of this.components) {
if (typeof comp === 'string') {
result += comp;
} else {
result += this._expand(comp, variables);
}
return result;
}
private _expand(comp: IUriTemplateComponent, variables: Record<string, unknown>): string {