Skip to main content

TAgent type

Utility type for constructing agent type that has a list of available methods

Signature:
export type TAgent<T extends IPluginMethodMap> = {
[P in keyof T]: RemoveContext<T[P]>
} & IAgent
References: [IPluginMethodMap](/docs/api/core-types.ipluginmethodmap), [RemoveContext](/docs/api/core-types.removecontext), [IAgent](/docs/api/core-types.iagent)