diff --git a/src/components/ai-assistant/AssistantPanelContext.tsx b/src/components/ai-assistant/AssistantPanelContext.tsx index f7dfc28..08e0ceb 100644 --- a/src/components/ai-assistant/AssistantPanelContext.tsx +++ b/src/components/ai-assistant/AssistantPanelContext.tsx @@ -268,7 +268,7 @@ export function AssistantPanelProvider({ role, pathname, children }) { /* Width is written on every drag frame, so persistence is debounced rather than hitting sessionStorage sixty times a second. */ - const setWidthState = React.useCallback((next) => { + const setWidthState: any = React.useCallback((next) => { const clamped = clampWidth(next); setWidth(clamped); clearTimeout(setWidthState.timer); diff --git a/src/lib/skills/actions.ts b/src/lib/skills/actions.ts index c5633dc..d260638 100644 --- a/src/lib/skills/actions.ts +++ b/src/lib/skills/actions.ts @@ -568,7 +568,7 @@ const HANDLERS = { * so a handler existing in code is not the same as a skill being allowed to use * it. Unknown or undeclared names return null and nothing happens. */ -export function runAction(name, { skill, ...payload } = {}) { +export function runAction(name, { skill, ...payload }: any = {}) { if (skill && !skill.actions.includes(name)) return null; const handler = HANDLERS[name]; return handler ? handler(payload) : null; diff --git a/src/lib/skills/uiConfig.ts b/src/lib/skills/uiConfig.ts index bfca3d8..943abb7 100644 --- a/src/lib/skills/uiConfig.ts +++ b/src/lib/skills/uiConfig.ts @@ -49,6 +49,9 @@ export function normalizeSection(raw, { page, errors, seen, fallbackId = '', where: label = null, placement: wantPlacement = true, types = SUPPORTED_SECTION_TYPES, shapeFor = (type) => type, +}: { + page?: any; errors: any; seen: any; fallbackId?: string; where?: any; + placement?: boolean; types?: string[]; shapeFor?: (type: any) => any; }) { const where = label || `ui.${page}`; /* Where an error points. A page section is addressed by the id it was given; diff --git a/src/pages/admin/Positions.tsx b/src/pages/admin/Positions.tsx index 9ef4756..be0ec89 100644 --- a/src/pages/admin/Positions.tsx +++ b/src/pages/admin/Positions.tsx @@ -105,7 +105,7 @@ const STEP_ICONS = { * * Rendered as an executive multi-segment funnel bar and 5 stage micro-cards with tailored icons. */ -function Progression({ steps, className }) { +function Progression({ steps, className }: any) { const entered = steps[0]?.count || 0; return (