diff --git a/packages/ipfs-core-types/src/index.d.ts b/packages/ipfs-core-types/src/index.d.ts index de6dad2782..cfe625cd57 100644 --- a/packages/ipfs-core-types/src/index.d.ts +++ b/packages/ipfs-core-types/src/index.d.ts @@ -22,8 +22,8 @@ import type { BlockCodec } from 'multiformats/codecs/interface' import type { MultibaseCodec } from 'multiformats/bases/interface' import type { MultihashHasher } from 'multiformats/hashes/interface' -interface RefsAPI extends Refs { - local: Local +interface RefsAPI extends Refs { + local: Local } export interface IPFS extends RootAPI { @@ -61,8 +61,8 @@ interface Codecs { } interface Hashers { - getHasher: (code: number | string) => Promise> - listHashers: () => Array> + getHasher: (code: number | string) => Promise + listHashers: () => MultihashHasher[] } export type {