Fix prettier on all files

This commit is contained in:
2019-08-03 20:40:07 +05:30
parent feee690b48
commit 67206dfe41
24 changed files with 164 additions and 144 deletions
+3 -1
View File
@@ -28,7 +28,9 @@ function isNodeComponentClass(
return isNodeNotHtmlLike(node) && node.stateNode instanceof React.Component;
}
function isConstructorHtmlLike(ctr: React.ElementType): ctr is Exclude<React.ElementType, React.ComponentType> {
function isConstructorHtmlLike(
ctr: React.ElementType
): ctr is Exclude<React.ElementType, React.ComponentType> {
if (typeof ctr === "string" || ctr === null) {
return true;
}