Open
Description
./js/plugins/mcp/src/client/message.ts:17:73 syntax/correctness/noTypeOnlyImportAttributes ━━━━━━━━━━
✖ Import attributes cannot be used with a type-only import.
15 │ */
16 │
> 17 │ import type { PromptMessage } from '@modelcontextprotocol/sdk/types.js' with {
│ ^^^^^^
> 18 │ 'resolution-mode': 'import',
> 19 │ };
│ ^
20 │ import { MessageData, Part } from 'genkit';
21 │
ℹ The type-only import is defined here.
15 │ */
16 │
> 17 │ import type { PromptMessage } from '@modelcontextprotocol/sdk/types.js' with {
│ ^^^^
18 │ 'resolution-mode': 'import',
19 │ };
Metadata
Metadata
Assignees
Type
Projects
Status
No status