Skip to content

Commit 2a47014

Browse files
authored
fix(dereference-document): example imports
1 parent 9f78f11 commit 2a47014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dereference-document.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ const handleMethod = async (method: MethodObject, doc: OpenrpcDocument): Promise
168168
* @example
169169
* ```typescript
170170
*
171-
* const { OpenRPC } from "@open-rpc/meta-schema"
172-
* const { dereferenceDocument } from "@open-rpc/schema-utils-js";
171+
* import { OpenRPC } from "@open-rpc/meta-schema"
172+
* import { dereferenceDocument } from "@open-rpc/schema-utils-js";
173173
*
174174
* try {
175175
* const dereffedDocument = await dereferenceDocument({ ... }) as OpenRPC;

0 commit comments

Comments
 (0)