File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import {
3737 LoggingLevelSchema
3838} from "../types.js" ;
3939import Ajv from "ajv" ;
40- import type { Target } from "zod-to-json-schema" ;
40+ import type { Targets } from "zod-to-json-schema" ;
4141
4242export type ServerOptions = ProtocolOptions & {
4343 /**
@@ -53,7 +53,7 @@ export type ServerOptions = ProtocolOptions & {
5353 /**
5454 * Optional spec for JSON Schema to allow fully compatible use with OpenAI endpoints.
5555 */
56- jsonSchemaSpec ?: Target ;
56+ jsonSchemaSpec ?: Targets ;
5757} ;
5858
5959/**
@@ -94,7 +94,7 @@ export class Server<
9494 private _clientVersion ?: Implementation ;
9595 private _capabilities : ServerCapabilities ;
9696 private _instructions ?: string ;
97- public _jsonSchemaSpec ?: Target = 'jsonSchema7' ;
97+ public _jsonSchemaSpec ?: Targets = 'jsonSchema7' ;
9898
9999 /**
100100 * Callback for when initialization has fully completed (i.e., the client has sent an `initialized` notification).
You can’t perform that action at this time.
0 commit comments