Skip to content

Commit

Permalink
add comment and link to PR explaining why the refence type is there
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed May 2, 2024
1 parent 6005992 commit facd2f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/api/src/protocol.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* NOTE: Added reference types here to avoid a `pnpm` bug during build.
* https://github.com/TBD54566975/web5-js/pull/507
*/
/// <reference types="@tbd54566975/dwn-sdk-js" />

import type { DwnMessage, DwnResponseStatus, Web5Agent } from '@web5/agent';
Expand Down
4 changes: 4 additions & 0 deletions packages/api/src/record.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* NOTE: Added reference types here to avoid a `pnpm` bug during build.
* https://github.com/TBD54566975/web5-js/pull/507
*/
/// <reference types="@tbd54566975/dwn-sdk-js" />

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

0 comments on commit facd2f7

Please sign in to comment.