Skip to content

ResourceDecoratorOptions

@tsed/platform-mcp

Usage

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

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

Overview

ts
type ResourceDecoratorOptions = Omit<ResourceProps, "handler" | "uri" | "template">;

Description

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

Released under the MIT License.