mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
Fix prettier on all files
This commit is contained in:
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user