Skip to content

Commit 1a85aec

Browse files
docs(README.md): fix.
1 parent d065270 commit 1a85aec

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ Creates a new instance with the message. If the provided `message` is an [`objec
407407
// Syntax.
408408
constructor(
409409
message: string | ErrorMessage = '',
410-
callback?: (callback: Callback<AllowedCallback>) => void
410+
callback?: (callback: Callback<VEAllowedCallback>) => void
411411
) {
412412
super();
413413

@@ -423,10 +423,10 @@ constructor(
423423

424424
**Parameters:**
425425

426-
| Name: type | Description |
427-
| :-------------------------------- | :---------- |
428-
| `message: string \| ErrorMessage` | The message of a [`string`][js-string] type or of an [`ErrorMessage`](#errormessage) interface that is used to throw with an [`Error`][js-error]. |
429-
| `callback?: (callback: Callback<AllowedCallback>) => void` | An optional function to handle the internal instance of [`Callback`][callback-github-readme]. |
426+
| Name: type | Description |
427+
| :----------------------------------------------------------- | :---------- |
428+
| `message: string \| ErrorMessage` | The message of a [`string`][js-string] type or of an [`ErrorMessage`](#errormessage) interface that is used to throw with an [`Error`][js-error]. |
429+
| `callback?: (callback: Callback<VEAllowedCallback>) => void` | An optional function to handle the internal instance of [`Callback`][callback-github-readme]. |
430430

431431
**Returns:**
432432

0 commit comments

Comments
 (0)