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

Commit

Permalink
fix: query input types (#4201)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 5, 2022
1 parent c6d03ec commit 83f9882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ipfs-message-port-client/src/client/service.js
Expand Up @@ -2,6 +2,7 @@ import { Query } from './query.js'

/**
* @typedef {import('./transport').MessageTransport} MessageTransport
* @typedef {import('./query').QueryInput<any>} QueryInput
*/
/**
* @template T
Expand Down Expand Up @@ -29,7 +30,7 @@ export class Service {
for (const method of methods) {
/**
* @template I, O
* @param {I} input
* @param {QueryInput} input
* @returns {Promise<O>}
*/
api[method] = input =>
Expand Down

0 comments on commit 83f9882

Please sign in to comment.