@datacamp/waffles-utils
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [3.1.1](https://github.com/datacamp/design-system/compare/@datacamp/waffles-utils@3.1.0...@datacamp/waffles-utils@3.1.1) (2021-03-04) | ||
**Note:** Version bump only for package @datacamp/waffles-utils | ||
# [3.1.0](https://github.com/datacamp/design-system/compare/@datacamp/waffles-utils@3.0.1...@datacamp/waffles-utils@3.1.0) (2021-02-18) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@datacamp/waffles-utils", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Various collection of utilities to be shared across waffles packages", | ||
@@ -33,5 +33,5 @@ "author": "Louis Bailey <louis@datacamp.com>", | ||
"devDependencies": { | ||
"@babel/cli": "7.7.7", | ||
"@babel/cli": "7.13.0", | ||
"@babel/core": "7.12.7", | ||
"@datacamp/waffles-babel-preset": "^3.0.2", | ||
"@datacamp/waffles-babel-preset": "^3.0.3", | ||
"@datacamp/waffles-tsconfig": "^2.0.0", | ||
@@ -52,3 +52,3 @@ "babel-jest": "26.6.3", | ||
}, | ||
"gitHead": "70600ac9ca2d910ec42313e5b7cab40bd1df4b08" | ||
"gitHead": "95e3b72f60b986d0bedd2736c56421a30e26770c" | ||
} |
import React from 'react'; | ||
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>)>; | ||
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, any> | null) | (new (props: any) => React.Component<any, any, any>)>; | ||
export default isChildType; |
22721