File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/ipfs-core-types/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ import type { BlockCodec } from 'multiformats/codecs/interface'
22
22
import type { MultibaseCodec } from 'multiformats/bases/interface'
23
23
import type { MultihashHasher } from 'multiformats/hashes/interface'
24
24
25
- interface RefsAPI extends Refs {
26
- local : Local
25
+ interface RefsAPI < OptionExtension = { } > extends Refs < OptionExtension > {
26
+ local : Local < OptionExtension >
27
27
}
28
28
29
29
export interface IPFS < OptionExtension = { } > extends RootAPI < OptionExtension > {
@@ -61,8 +61,8 @@ interface Codecs {
61
61
}
62
62
63
63
interface Hashers {
64
- getHasher : ( code : number | string ) => Promise < MultihashHasher < any , any > >
65
- listHashers : ( ) => Array < MultihashHasher < any , any > >
64
+ getHasher : ( code : number | string ) => Promise < MultihashHasher >
65
+ listHashers : ( ) => MultihashHasher [ ]
66
66
}
67
67
68
68
export type {
You can’t perform that action at this time.
0 commit comments