Skip to content

ResourceDecoratorOptions

@tsed/platform-mcp

Usage ​

typescript
import { ResourceDecoratorOptions } from "@tsed/platform/platform-mcp/src/common/decorators/resource";

See /packages/platform/platform-mcp/src/common/decorators/resource.ts.

Overview ​

ts
type ResourceDecoratorOptions = Omit<ClassResourceReadProps, "token" | "propertyKey" | "uri">;

Description ​

Options accepted by the {@link Resource} decorator beyond the handler binding fields, allowing callers to override metadata.

Released under the MIT License.