Skip to content

Commit facd2f7

Browse files
committed
add comment and link to PR explaining why the refence type is there
1 parent 6005992 commit facd2f7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/api/src/protocol.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* NOTE: Added reference types here to avoid a `pnpm` bug during build.
3+
* https://github.com/TBD54566975/web5-js/pull/507
4+
*/
15
/// <reference types="@tbd54566975/dwn-sdk-js" />
26

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

packages/api/src/record.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* NOTE: Added reference types here to avoid a `pnpm` bug during build.
3+
* https://github.com/TBD54566975/web5-js/pull/507
4+
*/
15
/// <reference types="@tbd54566975/dwn-sdk-js" />
26

37
import type { Readable } from '@web5/common';

0 commit comments

Comments
 (0)