Skip to content

Commit 79c8afd

Browse files
authoredNov 1, 2023
docs: Fix spelling in no-callback-literal.md (#135)
1 parent 446e744 commit 79c8afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/rules/no-callback-literal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ When invoking a callback function which uses the Node.js error-first callback pa
66

77
## 📖 Rule Details
88

9-
When a function is named `cb` or `callback`, then it must be invoked with a first argument that is `undefined`, `null`, an `Error` class, or a subclass or `Error`.
9+
When a function is named `cb` or `callback`, then it must be invoked with a first argument that is `undefined`, `null`, an `Error` class, or a subclass of `Error`.
1010

1111
Examples of 👎 **incorrect** code for this rule:
1212

0 commit comments

Comments
 (0)
Please sign in to comment.