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, RemoveContext, IAgent