Skip to content

Commit 439fd99

Browse files
committed
refactor: rename variable without redundant "either"
1 parent 24e8a57 commit 439fd99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jsdocUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const tagsWithMandatoryNamepath = [
195195
'typedef',
196196
];
197197

198-
const tagsWithMandatoryEitherTypeOrNamepath = [
198+
const tagsWithMandatoryTypeOrNamepath = [
199199
'alias',
200200
'augments', 'extends',
201201
'borrows',
@@ -233,7 +233,7 @@ const tagMightHaveEitherTypeOrNamepath = (tag) => {
233233
};
234234

235235
const tagMustHaveEitherTypeOrNamepath = (tag) => {
236-
return tagsWithMandatoryEitherTypeOrNamepath.includes(tag);
236+
return tagsWithMandatoryTypeOrNamepath.includes(tag);
237237
};
238238

239239
/**

0 commit comments

Comments
 (0)