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')
66
77const pkg = require ( './package.json' )
88
9+ /** @typedef {keyof import('./types/api').operations } SocketSdkOperations */
10+
911/**
10- * @template {keyof import('./types/api').operations } T
12+ * @template {SocketSdkOperations } T
1113 * @typedef {import('./types/api-helpers').OpReturnType<import('./types/api').operations[T]> } SocketSdkReturnType
1214 */
1315
1416/**
15- * @template {keyof import('./types/api').operations } T
17+ * @template {SocketSdkOperations } T
1618 * @typedef {import('./types/api-helpers').OpErrorType<import('./types/api').operations[T]> } SocketSdkErrorType
1719 */
1820
1921/**
20- * @template {keyof import('./types/api').operations } T
22+ * @template {SocketSdkOperations } T
2123 * @typedef {SocketSdkReturnType<T> | SocketSdkErrorType<T> } SocketSdkResultType
2224 */
2325
You can’t perform that action at this time.
0 commit comments