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

Commit 83f9882

Browse files
authoredSep 5, 2022
fix: query input types (#4201)
1 parent c6d03ec commit 83f9882

File tree

1 file changed

+2
-1
lines changed
  • packages/ipfs-message-port-client/src/client

1 file changed

+2
-1
lines changed
 

‎packages/ipfs-message-port-client/src/client/service.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Query } from './query.js'
22

33
/**
44
* @typedef {import('./transport').MessageTransport} MessageTransport
5+
* @typedef {import('./query').QueryInput<any>} QueryInput
56
*/
67
/**
78
* @template T
@@ -29,7 +30,7 @@ export class Service {
2930
for (const method of methods) {
3031
/**
3132
* @template I, O
32-
* @param {I} input
33+
* @param {QueryInput} input
3334
* @returns {Promise<O>}
3435
*/
3536
api[method] = input =>

0 commit comments

Comments
 (0)
This repository has been archived.