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

fix: add missing type import #3664

Merged
merged 1 commit into from
May 2, 2021
Merged
Changes from all commits
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
3 changes: 2 additions & 1 deletion packages/ipfs-http-client/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { Format as IPLDFormat } from 'interface-ipld-format'
import { Agent as HttpAgent } from 'http'
import { Agent as HttpsAgent } from 'https'
import { Multiaddr } from 'multiaddr'
import { CodecName } from 'multicodec'

export type LoadFormatFn = (name: CodecName) => Promise<IPLDFormat>
export type LoadFormatFn = (name: CodecName) => Promise<IPLDFormat<any>>

export interface Options {
host?: string
Expand Down