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

fix: types path for ipfs-core #3356

Merged
merged 2 commits into from
Oct 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions packages/ipfs/src/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
/* eslint-disable jsdoc/valid-types */
'use strict'

const IPFS = require('ipfs-core')

/**
* @typedef { ReturnType<typeof IPFS['create']> extends Promise<infer U>
* ? U : never } IPFS
*/
const IPFS = require('ipfs-core/src')
achingbrain marked this conversation as resolved.
Show resolved Hide resolved

module.exports = IPFS