Skip to content

Commit 820f036

Browse files
codingwithmannycodingwithmanny
authored andcommitted
docs: Removed object and added semicolon
BREAKING CHANGE: N
1 parent ff7cf33 commit 820f036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validate-open-rpc-document.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class OpenRPCDocumentValidationError implements Error {
4040
*
4141
* const result = validateOpenRPCDocument(badOpenRPCDocument);
4242
* if (result !== true) {
43-
* console.error({ error: result })
43+
* console.error(result);
4444
* }
4545
* ```
4646
*

0 commit comments

Comments
 (0)