File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,20 @@ const { ErrorWithCause } = require('pony-cause')
6
6
7
7
const pkg = require ( './package.json' )
8
8
9
+ /** @typedef {keyof import('./types/api').operations } SocketSdkOperations */
10
+
9
11
/**
10
- * @template {keyof import('./types/api').operations } T
12
+ * @template {SocketSdkOperations } T
11
13
* @typedef {import('./types/api-helpers').OpReturnType<import('./types/api').operations[T]> } SocketSdkReturnType
12
14
*/
13
15
14
16
/**
15
- * @template {keyof import('./types/api').operations } T
17
+ * @template {SocketSdkOperations } T
16
18
* @typedef {import('./types/api-helpers').OpErrorType<import('./types/api').operations[T]> } SocketSdkErrorType
17
19
*/
18
20
19
21
/**
20
- * @template {keyof import('./types/api').operations } T
22
+ * @template {SocketSdkOperations } T
21
23
* @typedef {SocketSdkReturnType<T> | SocketSdkErrorType<T> } SocketSdkResultType
22
24
*/
23
25
You can’t perform that action at this time.
0 commit comments