Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Closed
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
2 changes: 1 addition & 1 deletion packages/ipfs-core-types/src/config/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface API<OptionExtension = {}> {
* Returns a value from the currently being used config. If the daemon
* is off, it returns the value from the stored config.
*/
get: (key: string, options?: AbortOptions & OptionExtension) => Promise<string | object>
get: <T = string | object>(key: string, options?: AbortOptions & OptionExtension) => Promise<T>

/**
* Returns the full config been used. If the daemon is off, it returns the
Expand Down