mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-08-23 09:35:04 +02:00
Fixed the return type of getCookieConsentValue in the dts file.
This commit is contained in:
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@@ -49,6 +49,6 @@ export default class CookieConsent extends React.Component<CookieConsentProps, {
|
||||
* to: https://web.dev/samesite-cookie-recipes/#handling-incompatible-clients
|
||||
* @param {*} name optional name of the cookie
|
||||
*/
|
||||
export function getCookieConsentValue(name?: string);
|
||||
export function getCookieConsentValue(name?: string): string;
|
||||
|
||||
export { Cookies };
|
||||
|
Reference in New Issue
Block a user