Skip to content

Conversation

@ple1n
Copy link

@ple1n ple1n commented Mar 20, 2022

Changes include #31

Copy link
Member

@tabcat tabcat left a comment

Choose a reason for hiding this comment

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

thanks for making these changes @planetoryd
will be good to use the official ipfs types

* Contains all entries of this Store
*/
all: any[];
all: any[] | {};
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

It should be, but the IDE told me it could be {} too, for some reason. uh, right, the implementation should be changed instead

Copy link
Member

Choose a reason for hiding this comment

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

I dont think the code block I linked needs to be changed, and im not sure how it could return an object.

Copy link
Author

Choose a reason for hiding this comment

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

Yes it shouldn't be. If for some reason it returns an object it's the fault of orbit-db not its typing.

@ple1n
Copy link
Author

ple1n commented Mar 25, 2022

Sorry I'm not interested in using orbit-db as a dependency anymore. It seems rewriting that part would be better

@ple1n ple1n closed this Mar 25, 2022
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