Skip to content

Commit e3638ab

Browse files
committed
Remove @Class jsdoc
1 parent c379156 commit e3638ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/util/Components.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const astUtil = require('./ast');
1313

1414
/**
1515
* Components
16-
* @class
1716
*/
1817
class Components {
1918
constructor() {
@@ -99,6 +98,7 @@ class Components {
9998
list() {
10099
const list = {};
101100
const usedPropTypes = {};
101+
102102
// Find props used in components for which we are not confident
103103
for (const i in this._list) {
104104
if (!has(this._list, i) || this._list[i].confidence >= 2) {
@@ -122,6 +122,7 @@ class Components {
122122
usedPropTypes[componentId] = (usedPropTypes[componentId] || []).concat(newUsedProps);
123123
}
124124
}
125+
125126
// Assign used props in not confident components to the parent component
126127
for (const j in this._list) {
127128
if (!has(this._list, j) || this._list[j].confidence < 2) {

0 commit comments

Comments
 (0)