Skip to content

Documentation / @agentick/express / method

Function: method() ​

Call Signature ​

method<TSchema>(definition): MethodDefinition<TSchema>

Defined in: packages/gateway/dist/types.d.ts:311

Type Parameters ​

TSchema ​

TSchema extends ZodLikeSchema

Parameters ​

definition ​

Omit<MethodDefinitionInput<TSchema>, "schema"> & object

Returns ​

MethodDefinition<TSchema>

Call Signature ​

method(definition): MethodDefinition

Defined in: packages/gateway/dist/types.d.ts:314

Parameters ​

definition ​

MethodDefinitionInputNoSchema

Returns ​

MethodDefinition

Released under the ISC License.