File tree 1 file changed +3
-3
lines changed
packages/eslint-plugin/docs/rules
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ The following patterns are considered correct with the default options `{ access
79
79
80
80
``` ts
81
81
class Animal {
82
- public constructor (public breed , animalName ) {
82
+ public constructor (public breed , name ) {
83
83
// Parameter property and constructor
84
84
this .animalName = name ;
85
85
}
@@ -102,7 +102,7 @@ The following patterns are considered incorrect with the accessibility set to **
102
102
103
103
``` ts
104
104
class Animal {
105
- public constructor (public breed , animalName ) {
105
+ public constructor (public breed , name ) {
106
106
// Parameter property and constructor
107
107
this .animalName = name ;
108
108
}
@@ -125,7 +125,7 @@ The following patterns are considered correct with the accessibility set to **no
125
125
126
126
``` ts
127
127
class Animal {
128
- constructor (protected breed , animalName ) {
128
+ constructor (protected breed , name ) {
129
129
// Parameter property and constructor
130
130
this .name = name ;
131
131
}
You can’t perform that action at this time.
0 commit comments