Skip to content
tRPC

Partners

Type Alias: AugmentedOperationContext

On this page

AugmentedOperationContext: { [TKey in keyof OperationContext as string extends TKey ? never : TKey]: OperationContext[TKey] }

Defined in: packages/client/dist/types-BZH1P86I.d.mts:158

The fields added to OperationContext with module augmentation, without its [key: string]: unknown. Links that hand the operation to your code declare these, so calls take only fields something declared.

See

https://trpc.io/docs/client/links#managing-context