@@ -10,12 +10,12 @@ type SignalProxy<
1010> = {
1111 [ K in TMethodsToPassThrough ] : TInput [ K ]
1212} & {
13- [ K in TAttributesToTransformToSignals ] : Signal < TInput [ K ] >
14- } & {
15- [ K in TMethodsToTrack ] : TInput [ K ]
16- } & {
17- [ K in TMethodsToTransformToSignals ] : Signal < ReturnType < TInput [ K ] > >
18- }
13+ [ K in TAttributesToTransformToSignals ] : Signal < TInput [ K ] >
14+ } & {
15+ [ K in TMethodsToTrack ] : TInput [ K ]
16+ } & {
17+ [ K in TMethodsToTransformToSignals ] : Signal < ReturnType < TInput [ K ] > >
18+ }
1919
2020export function signalProxy <
2121 TInput extends Record < string | symbol , any > ,
@@ -55,7 +55,7 @@ export function signalProxy<
5555 ) => untracked ( inputSignal ) [ property as keyof TInput ] ( ...args ) )
5656 }
5757
58- // Zero-arg methods exposed as computed signals (matches main list A for getTotalSize / getVirtualItems)
58+ // Zero-arg methods exposed as computed signals
5959 if (
6060 methodsToTransformToSignals . includes (
6161 property as TMethodsToTransformToSignals ,
@@ -84,7 +84,7 @@ export function signalProxy<
8484 ) )
8585 }
8686
87- // All other fiels . Any fields that is not handled above will fail if the signal includes
87+ // All other fields . Any field that is not handled above will fail if the signal includes
8888 // input or model signals from a component and this is accessed before initialization.
8989 return untracked ( inputSignal ) [ property as keyof TInput ]
9090 } ,
0 commit comments