mirror of
				https://github.com/Mastermindzh/react-cookie-consent.git
				synced 2025-11-03 18:28:50 +01:00 
			
		
		
		
	Update index.d.ts (#151)
This commit is contained in:
		
							
								
								
									
										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 };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user