@datacamp/waffles-utils
Advanced tools
Comparing version 2.0.19 to 2.0.20
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.20](https://github.com/datacamp/design-system/compare/@datacamp/waffles-utils@2.0.19...@datacamp/waffles-utils@2.0.20) (2020-11-06) | ||
### Bug Fixes | ||
* util typing ([e0b1c31](https://github.com/datacamp/design-system/commit/e0b1c31)) | ||
## [2.0.19](https://github.com/datacamp/design-system/compare/@datacamp/waffles-utils@2.0.18...@datacamp/waffles-utils@2.0.19) (2020-11-03) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@datacamp/waffles-utils", | ||
"version": "2.0.19", | ||
"version": "2.0.20", | ||
"description": "Various collection of utilities to be shared across waffles packages", | ||
@@ -48,3 +48,3 @@ "author": "Louis Bailey <louis@datacamp.com>", | ||
}, | ||
"gitHead": "d98781af4fb82ddff992bd3088b817eb1b9f2f6c" | ||
"gitHead": "d34e1656d1a66af55d06000a8facf53835195d6e" | ||
} |
import React from 'react'; | ||
declare const isChildType: <P extends {}>(child: React.ReactNode, type: React.ComponentClass<P, any> | React.FunctionComponent<P> | React.ExoticComponent<P>) => child is React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>; | ||
declare const isChildType: <P extends unknown>(child: React.ReactNode, type: React.ComponentClass<P, any> | React.FunctionComponent<P> | React.ExoticComponent<P>) => child is React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>; | ||
export default isChildType; |
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
17571