lspeasy / core/src / getResultSchemaForMethod
Function: getResultSchemaForMethod()
ts
function getResultSchemaForMethod(method):
| ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>
| undefined;Defined in: packages/core/src/protocol/schemas.ts:2571
Looks up the result schema for a request method; returns undefined for notifications or unknown methods.
Parameters
| Parameter | Type |
|---|---|
method | string |
Returns
| ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | undefined