UNPKG

@spartacus/core

Version:

Spartacus - the core framework

15 lines (14 loc) 559 B
/** * Angular uses the native encodeURIComponent function, * but then un-encoded some characters that are allowed * to be part of the query according to IETF RFC 3986. * So, to make these characters still encoded, this encoder only * uses the encodeURIComponent. */ import { HttpParameterCodec } from '@angular/common/http'; export declare class HttpParamsURIEncoder implements HttpParameterCodec { encodeKey(key: string): string; encodeValue(value: string): string; decodeKey(key: string): string; decodeValue(value: string): string; }