Skip to content

Commit 44ab75b

Browse files
committed
add reference types from dwn-sdk-js to avoid pnpm build error https://github.com/microsoft/TypeScript/issues/47663\#issuecomment-1962129199
1 parent eb02b62 commit 44ab75b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/api/src/protocol.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference types="@tbd54566975/dwn-sdk-js" />
2+
13
import type { DwnMessage, DwnResponseStatus, Web5Agent } from '@web5/agent';
24

35
import { DwnInterface } from '@web5/agent';

packages/api/src/record.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference types="@tbd54566975/dwn-sdk-js" />
2+
13
import type { Readable } from '@web5/common';
24
import type {
35
Web5Agent,

0 commit comments

Comments
 (0)