Skip to content

Commit fad86b9

Browse files
committed
chore: fix type, format
1 parent e4427c6 commit fad86b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/common/config/configOverrides.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function applyConfigOverrides({
4343
assertValidConfigKey(key);
4444
const meta = getConfigMeta(key);
4545
const behavior = meta?.overrideBehavior || "not-allowed";
46-
const baseValue = baseConfig[key as keyof UserConfig];
46+
const baseValue = baseConfig[key];
4747
const newValue = applyOverride(key, baseValue, overrideValue, behavior);
4848
(result as Record<keyof UserConfig, unknown>)[key] = newValue;
4949
}
@@ -59,7 +59,7 @@ export function applyConfigOverrides({
5959
}
6060

6161
const behavior = meta?.overrideBehavior || "not-allowed";
62-
const baseValue = baseConfig[key as keyof UserConfig];
62+
const baseValue = baseConfig[key];
6363
const newValue = applyOverride(key, baseValue, overrideValue, behavior);
6464
(result as Record<keyof UserConfig, unknown>)[key] = newValue;
6565
}

src/elicitation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ElicitRequestFormParams } from "@modelcontextprotocol/sdk/types.js";
1+
import type { ElicitRequestParams } from "@modelcontextprotocol/sdk/types.js";
22
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
33

44
export class Elicitation {
@@ -37,7 +37,7 @@ export class Elicitation {
3737
* The schema for the confirmation question.
3838
* TODO: In the future would be good to use Zod 4's toJSONSchema() to generate the schema.
3939
*/
40-
public static CONFIRMATION_SCHEMA: ElicitRequestFormParams["requestedSchema"] = {
40+
public static CONFIRMATION_SCHEMA: ElicitRequestParams["requestedSchema"] = {
4141
type: "object",
4242
properties: {
4343
confirmation: {

0 commit comments

Comments
 (0)