lspeasy / core/src / getSchemaForMethod
Function: getSchemaForMethod()
ts
function getSchemaForMethod(method):
| ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>
| undefined;Defined in: packages/core/src/protocol/schemas.ts:2358
Looks up the Zod validation schema for a given LSP method.
Parameters
| Parameter | Type |
|---|---|
method | string |
Returns
| ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | undefined