Type Alias PropMapUriEncodingCallbackFn
PropMapUriEncodingCallbackFn: (
name: string,
value: any,
) => [string, any] | [string, any, boolean] | any | undefined
Type declaration
- (
name: string,
value: any,
): [string, any] | [string, any, boolean] | any | undefined Returns [string, any] | [string, any, boolean] | any | undefined
A callback function for URI encoding.
The function will be passed property name and value arguments, and must return either
undefined
to skip the property, a 2-element array with the property name and value to use, or anything else to use the property as-is.