File tree Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -368,46 +368,3 @@ const SAME = {
368
368
} ,
369
369
transformReply : ( ) => 'default' as const
370
370
} 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
You can’t perform that action at this time.
0 commit comments