diff --git a/examples/types-use-ipfs-from-typed-js/package.json b/examples/types-use-ipfs-from-typed-js/package.json index be800679..0c1d1eb6 100644 --- a/examples/types-use-ipfs-from-typed-js/package.json +++ b/examples/types-use-ipfs-from-typed-js/package.json @@ -11,8 +11,6 @@ "ipfs-core": "^0.14.0" }, "devDependencies": { - "multiformats": "^9.4.1", - "ipfs-core-types": "^0.10.0", "typescript": "^4.5.5" } } diff --git a/examples/types-use-ipfs-from-typed-js/src/main.js b/examples/types-use-ipfs-from-typed-js/src/main.js index 0ea2af3a..2222b4ff 100644 --- a/examples/types-use-ipfs-from-typed-js/src/main.js +++ b/examples/types-use-ipfs-from-typed-js/src/main.js @@ -1,7 +1,8 @@ const { create } = require('ipfs-core') + /** - * @typedef {import('ipfs-core-types').IPFS} IPFS - * @typedef {import('multiformats/cid').CID} CID + * @typedef {import('ipfs-core').IPFS} IPFS + * @typedef {import('ipfs-core').CID} CID */ async function main () {