Skip to content

[v4.8.1] McpTool isn't imported with type-only imports and fails for builds with verbatimModuleSyntax enabled #380

@Q16solver

Description

@Q16solver

Hi,

It seems like mcptooling are new things added from v4.8.0 -> v4.8.1, and broke some of my tooling in CI/CD (things like using typedoc to generate docs) with errors like

Args' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.

import { Args, McpToolProperty } from '../../types/mcpTool';

It would be great if we could turn that on and fix up the imports if it's not too much of a hassle, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions