# migrateSpecifier (@salmonui/mcp)

> The migrateSpecifier function of @salmonui/mcp: The replacement of a specifier of a removed package, or null when there is no single one (@salmonui/react root: each name has its own entry).

Canonical: https://salmonui.dev/docs/reference/mcp/migrateSpecifier

```ts
import { migrateSpecifier } from '@salmonui/mcp';
```

Entry index: https://salmonui.dev/docs/reference/mcp (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/mcp.md).

## Reference

Kind: function

```ts
function migrateSpecifier(specifier: string, map: ExportsMap): string | null;
```

The replacement of a specifier of a removed package, or null when there is
no single one (`@salmonui/react` root: each name has its own entry).
