Skip to content

Commit 94df60f

Browse files
committed
docs: generate docs
1 parent 716d396 commit 94df60f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,33 @@ function quux (foo) {
689689

690690
}
691691
// Message: @param "bar" does not match an existing function parameter.
692+
693+
/**
694+
* @param foo
695+
* @param foo
696+
*/
697+
function quux (foo) {
698+
699+
}
700+
// Message: Duplicate @param "foo"
701+
702+
/**
703+
* @param foo
704+
* @param foo
705+
*/
706+
function quux (foo, bar) {
707+
708+
}
709+
// Message: Duplicate @param "foo"
710+
711+
/**
712+
* @param foo
713+
* @param foo
714+
*/
715+
function quux (foo, foo) {
716+
717+
}
718+
// Message: Duplicate @param "foo"
692719
````
693720

694721
The following patterns are not considered problems:

0 commit comments

Comments
 (0)