Skip to content

Commit 437f76c

Browse files
committed
wip
1 parent 4a9d934 commit 437f76c

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

packages/client/lib/RESP/types.ts

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -368,46 +368,3 @@ const SAME = {
368368
},
369369
transformReply: () => 'default' as const
370370
} satisfies Command;
371-
372-
type SAME_DEFAULT = CommandWithPoliciesSignature<
373-
typeof SAME,
374-
2,
375-
{},
376-
{
377-
request: REQUEST_POLICIES['ALL_NODES'];
378-
response: RESPONSE_POLICIES['SPECIAL'];
379-
}
380-
>;
381-
382-
// type SAME_RESP2 = CommandReply<typeof SAME, 2>;
383-
// type SAME_COMMAND_RESP2 = CommandSignuture<typeof SAME, 2>;
384-
// type SAME_RESP3 = CommandReply<typeof SAME, 3>;
385-
// type SAME_COMMAND_RESP3 = CommandSignuture<typeof SAME, 3>;
386-
387-
// interface Test {
388-
// /**
389-
// * This is a test
390-
// */
391-
// a: 'a';
392-
// }
393-
394-
// const DIFFERENT = {
395-
// transformArguments(key: string): Array<string> {
396-
// return ['GET', key];
397-
// },
398-
// transformReply: {
399-
// 2: () => null as any as Test,
400-
// 3: () => '3' as const
401-
// }
402-
// } satisfies Command;
403-
404-
// type DIFFERENT_RESP2 = CommandReply<typeof DIFFERENT, 2>;
405-
// type DIFFERENT_COMMAND_RESP2 = CommandSignuture<typeof DIFFERENT, 2>;
406-
// type DIFFERENT_RESP3 = CommandReply<typeof DIFFERENT, 3>;
407-
// type DIFFERENT_COMMAND_RESP3 = CommandSignuture<typeof DIFFERENT, 3>;
408-
409-
// const a = null as any as DIFFERENT_COMMAND_RESP2;
410-
411-
// const b = await a('a');
412-
413-
// b.a

0 commit comments

Comments
 (0)