mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-20 18:41:44 +01:00
Update index.d.ts (#151)
This commit is contained in:
parent
3c17b66191
commit
3d8c766911
4
src/index.d.ts
vendored
4
src/index.d.ts
vendored
@ -65,12 +65,12 @@ export function getCookieConsentValue(name?: string): string;
|
|||||||
* Remove the cookie on browser in order to allow user to change their consent
|
* Remove the cookie on browser in order to allow user to change their consent
|
||||||
* @param {*} name optional name of the cookie
|
* @param {*} name optional name of the cookie
|
||||||
*/
|
*/
|
||||||
export function resetCookieConsentValue(name?: string);
|
export function resetCookieConsentValue(name?: string): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the legacy cookie name by the regular cookie name
|
* Get the legacy cookie name by the regular cookie name
|
||||||
* @param {string} name of cookie to get
|
* @param {string} name of cookie to get
|
||||||
*/
|
*/
|
||||||
export function getLegacyCookieName(name: string);
|
export function getLegacyCookieName(name: string): string;
|
||||||
|
|
||||||
export { Cookies };
|
export { Cookies };
|
||||||
|
Loading…
Reference in New Issue
Block a user