Skip to content

Commit 0a2720e

Browse files
rzzfFloEdelmann
andauthored
Update lib/rules/no-undef-directives.js
Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
1 parent 17c56ce commit 0a2720e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/rules/no-undef-directives.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ class DefinedInSetupDirectives {
5454
}
5555

5656
/**
57-
* @param {string[]} names
57+
* @param {string} name
5858
*/
59-
addName(...names) {
60-
for (const name of names) {
61-
this.names.add(name)
62-
}
59+
addName(name) {
60+
this.names.add(name)
6361
}
6462

6563
/**

0 commit comments

Comments
 (0)