UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

10 lines 455 B
/** * Appends a query param key to the passed URL and returns a URL string. * * This is useful for Synapse APIs where a URL is passed as a query parameter and a token is appended to the end of the URL, * such as initiating a reset password request or reset 2FA request. * @param url * @param queryParam */ export default function appendFinalQueryParamKey(url: URL, queryParam: string): string; //# sourceMappingURL=appendFinalQueryParamKey.d.ts.map