method IDecoratorApi.register
IDecoratorApi.register(
name: string,
): void

Registers a handler for a custom decorator.

Parameters

name: string

Decorator name

Invoked with the decorator's captured metadata

Return Type

void

Usage

import { type IDecoratorApi } from "common/src/index.ts";