Skip to content

Commit f9de71f

Browse files
committed
Clean up syntax
1 parent 4b4516f commit f9de71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class Client<
258258

259259
const validatedResult = validationResult.data;
260260
const requestedSchema =
261-
params.mode === 'form' ? (params.requestedSchema as unknown as JsonSchemaType | undefined) : undefined;
261+
params.mode === 'form' ? (params.requestedSchema as JsonSchemaType) : undefined;
262262

263263
if (params.mode === 'form' && validatedResult.action === 'accept' && validatedResult.content && requestedSchema) {
264264
if (this._capabilities.elicitation?.applyDefaults) {

0 commit comments

Comments
 (0)