Add convenience methods for issuing requests #56
Annotations
4 errors
Run npm run build:
src/server/index.test.ts#L59
Argument of type 'ZodObject<extendShape<{ method: ZodString; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<......' is not assignable to parameter of type 'ZodObject<{ method: ZodLiteral<string>; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>...'.
|
Run npm run build:
src/server/index.ts#L76
Argument of type 'ZodObject<extendShape<{ method: ZodString; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<......' is not assignable to parameter of type 'ZodObject<{ method: ZodLiteral<string>; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>...'.
|
Run npm run build:
src/server/index.ts#L77
Argument of type '{ method: string; params?: objectOutputType<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, ZodTypeAny, "passthrough"> | undefined; }' is not assignable to parameter of type '{ params: { protocolVersion: string | number; capabilities: { experimental?: objectOutputType<{}, ZodTypeAny, "passthrough"> | undefined; sampling?: objectOutputType<...> | undefined; } & { ...; }; clientInfo: { ...; } & { ...; }; _meta?: objectOutputType<...> | undefined; } & { ...; }; method: "initialize"; }'.
|
Run npm run build
Process completed with exit code 2.
|
Loading