Skip to content

Commit 33e6793

Browse files
docs(README.md): format headers differently
1 parent affaf5f commit 33e6793

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ Manages an [`Error`][js-error] of the validation.
118118

119119
**Static methods:**
120120

121-
| Methods | Description |
122-
| :----------------------------------------------------------------- | :---------- |
123-
| [`ValidationError.defineMessage()`](#validationerrordefinemessage) | Defines the validation error message of a [`string`][js-string] type from the provided `message` of the [`ErrorMessage`](#errormessage) interface |
121+
| ValidationError. | Description |
122+
| :------------------------------------------------- | :---------- |
123+
| [`defineMessage()`](#validationerrordefinemessage) | Defines the validation error message of a [`string`][js-string] type from the provided `message` of the [`ErrorMessage`](#errormessage) interface |
124124

125125
**Constructor:**
126126

@@ -130,7 +130,9 @@ Manages an [`Error`][js-error] of the validation.
130130

131131
<br>
132132

133-
## `ValidationError` static properties
133+
### `ValidationError` static properties
134+
135+
----
134136

135137
### `ValidationError.template`
136138

@@ -142,7 +144,9 @@ static template = `Problem: [problem] => Fix: [fix]`;
142144

143145
<br>
144146

145-
## `ValidationError` instance public properties
147+
### `ValidationError` instance public properties
148+
149+
----
146150

147151
### `ValidationError.prototype.fix`
148152

@@ -174,7 +178,9 @@ public problem = '';
174178

175179
<br>
176180

177-
## `ValidationError` static methods
181+
### `ValidationError` static methods
182+
183+
----
178184

179185
### `ValidationError.defineMessage()`
180186

@@ -228,7 +234,9 @@ const errorMessage = ValidationError.defineMessage({ fix, problem });
228234

229235
<br>
230236

231-
## `ValidationError` constructor
237+
### `ValidationError` constructor
238+
239+
----
232240

233241
### `ValidationError()`
234242

0 commit comments

Comments
 (0)