Skip to content

Feat/hypercore-type-improvements#12

Open
gmaclennan wants to merge 2 commits intofeat/protomux-stream-typefrom
feat/hypercore-type-improvements
Open

Feat/hypercore-type-improvements#12
gmaclennan wants to merge 2 commits intofeat/protomux-stream-typefrom
feat/hypercore-type-improvements

Conversation

@gmaclennan
Copy link
Member

adds Hypercore.defaultStorage types

adds Hypercore.defaultStorage types
@gmaclennan gmaclennan self-assigned this Oct 26, 2023
Copy link
Member

@achou11 achou11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a non-blocking comment but lgtm otherwise

>(storage: TStorageFn): TStorageFn
static defaultStorage(
storage: string,
opts: DefaultStorageOptions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not adamant about this suggestion but in case it's helpful:

Suggested change
opts: DefaultStorageOptions
opts?: Partial<DefaultStorageOptions>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants