Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: export IPFS type #3447

Merged
merged 2 commits into from
Dec 15, 2020
Merged

fix: export IPFS type #3447

merged 2 commits into from
Dec 15, 2020

Conversation

Gozala
Copy link
Contributor

@Gozala Gozala commented Dec 15, 2020

This is an attempt to illustrate a different approach for exporting IPFS type than one proposed in #3439.

Here instead of using default export for type IPFS type is just exported with it's name so that user in ts can write import { IPFS, create } from "ipfs" and equivalent in js as well.

Pull also updates two examples we have in place to both illustrate & test this.

@achingbrain achingbrain changed the title Export IPFS type fix: export IPFS type Dec 15, 2020
@achingbrain achingbrain merged commit cacbfc6 into master Dec 15, 2020
@achingbrain achingbrain deleted the feat/export-ipfs-type branch December 15, 2020 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants