Skip to content

Commit

Permalink
add reference types from dwn-sdk-js to avoid pnpm build error https:/…
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed May 2, 2024
1 parent afbbc5b commit 8cc806f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/api/src/protocol.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference types="@tbd54566975/dwn-sdk-js" />

import type { DwnMessage, DwnResponseStatus, Web5Agent } from '@web5/agent';

import { DwnInterface } from '@web5/agent';
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/record.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference types="@tbd54566975/dwn-sdk-js" />

import type { Readable } from '@web5/common';
import type {
Web5Agent,
Expand Down

0 comments on commit 8cc806f

Please sign in to comment.