@@ -571,25 +571,18 @@ export class Graph<
571571
572572export class CompiledGraph <
573573 N extends string ,
574- // eslint-disable-next-line @typescript-eslint/no-explicit-any
575- State = any ,
576- // eslint-disable-next-line @typescript-eslint/no-explicit-any
577- Update = any ,
578- // eslint-disable-next-line @typescript-eslint/no-explicit-any
579- ContextType extends Record < string , any > = Record < string , any > ,
580- // eslint-disable-next-line @typescript-eslint/no-explicit-any
581- InputType = any ,
582- // eslint-disable-next-line @typescript-eslint/no-explicit-any
583- OutputType = any ,
574+ State = any , // eslint-disable-line @typescript-eslint/no-explicit-any
575+ Update = any , // eslint-disable-line @typescript-eslint/no-explicit-any
576+ ContextType extends Record < string , any > = Record < string , any > , // eslint-disable-line @typescript-eslint/no-explicit-any
577+ InputType = any , // eslint-disable-line @typescript-eslint/no-explicit-any
578+ OutputType = any , // eslint-disable-line @typescript-eslint/no-explicit-any
584579 NodeReturnType = unknown ,
585580 CommandType = unknown ,
586- // eslint-disable-next-line @typescript-eslint/no-explicit-any
587- StreamCustomType = any
581+ StreamCustomType = any // eslint-disable-line @typescript-eslint/no-explicit-any
588582> extends Pregel <
589583 Record < N | typeof START , PregelNode < State , Update > > ,
590584 Record < N | typeof START | typeof END | string , BaseChannel > ,
591- // eslint-disable-next-line @typescript-eslint/no-explicit-any
592- ContextType & Record < string , any > ,
585+ ContextType & Record < string , any > , // eslint-disable-line @typescript-eslint/no-explicit-any
593586 InputType ,
594587 OutputType ,
595588 InputType ,
@@ -598,13 +591,13 @@ export class CompiledGraph<
598591 CommandType ,
599592 StreamCustomType
600593> {
601- declare NodeType : N ;
594+ declare "~ NodeType" : N ;
602595
603596 declare "~NodeReturnType" : NodeReturnType ;
604597
605- declare RunInput : State ;
598+ declare "~ RunInput" : Update ;
606599
607- declare RunOutput : Update ;
600+ declare "~ RunOutput" : State ;
608601
609602 builder : Graph < N , State , Update > ;
610603
0 commit comments