File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -580,29 +580,6 @@ module.exports = {
580
580
handlePropTypesAsGeneric ( node ) ;
581
581
return ;
582
582
}
583
- // const getGenericPropTypes = function(nodee) {
584
- // let properties;
585
-
586
- // let annotation = resolveGenericTypeAnnotation(nodee);
587
-
588
- // if (annotation && annotation.id) {
589
- // annotation = variableUtil.findVariableByName(context, annotation.id.name);
590
- // }
591
-
592
- // properties = annotation ? (annotation.properties || []) : [];
593
- // };
594
- // console.log(node); //eslint-disable-line
595
- // console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'); //eslint-disable-line
596
- // const test = hasPropsAsTypeParameterInstantiation(node); //eslint-disable-line
597
- // console.log(test); //eslint-disable-line
598
- // console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'); //eslint-disable-line
599
- // if (test) {
600
- // handlePropsAsTypeParameterInstantiation(node);
601
- // return;
602
- // }
603
- // const isPropType = propsUtil.isPropTypesDeclaration(node);
604
- // console.log(isPropType); //eslint-disable-line
605
- // handlePropTypeAnnotationClassProperty(node);
606
583
} ,
607
584
608
585
// Check for type annotations in stateless components
You can’t perform that action at this time.
0 commit comments