react-cookie
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -12,4 +12,4 @@ import * as React from 'react'; | ||
export class CookiesProvider extends React.Component{ } | ||
export class CookiesProvider extends React.Component<ReactCookieProps, any> {} | ||
type Diff<T, U> = T extends U ? never : T; | ||
type Omit<T, K extends keyof T> = Pick<T, Diff<keyof T, K>>; | ||
@@ -46,3 +46,3 @@ | ||
export type ReactCookieProps = { | ||
cookies: Cookies | ||
cookies?: Cookies | ||
}; |
{ | ||
"name": "react-cookie", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "Universal cookies for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14262
155