File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -151,12 +151,12 @@ module.exports = {
151
151
return false ;
152
152
}
153
153
154
- /**
155
- * Checks if we are declaring a props as a generic type in a flow-annotated class.
156
- *
157
- * @param {ASTNode } node the AST node being checked.
158
- * @returns {Boolean } True if the node is a class with generic prop types, false if not.
159
- */
154
+ /**
155
+ * Checks if we are declaring a props as a generic type in a flow-annotated class.
156
+ *
157
+ * @param {ASTNode } node the AST node being checked.
158
+ * @returns {Boolean } True if the node is a class with generic prop types, false if not.
159
+ */
160
160
function isSuperTypeParameterPropsDeclaration ( node ) {
161
161
if ( node && node . type === 'ClassDeclaration' ) {
162
162
if ( node . superTypeParameters && node . superTypeParameters . params . length >= 2 ) {
You can’t perform that action at this time.
0 commit comments