We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4516f commit f9de71fCopy full SHA for f9de71f
src/client/index.ts
@@ -258,7 +258,7 @@ export class Client<
258
259
const validatedResult = validationResult.data;
260
const requestedSchema =
261
- params.mode === 'form' ? (params.requestedSchema as unknown as JsonSchemaType | undefined) : undefined;
+ params.mode === 'form' ? (params.requestedSchema as JsonSchemaType) : undefined;
262
263
if (params.mode === 'form' && validatedResult.action === 'accept' && validatedResult.content && requestedSchema) {
264
if (this._capabilities.elicitation?.applyDefaults) {
0 commit comments