Update index.d.ts (#151)

This commit is contained in:
Davor Peic 2022-02-10 14:22:20 +01:00 committed by GitHub
parent 3c17b66191
commit 3d8c766911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
src/index.d.ts vendored
View File

@ -65,12 +65,12 @@ export function getCookieConsentValue(name?: string): string;
* Remove the cookie on browser in order to allow user to change their consent
* @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
* @param {string} name of cookie to get
*/
export function getLegacyCookieName(name: string);
export function getLegacyCookieName(name: string): string;
export { Cookies };