type alias SetuClassDecorator
Since 0.2.0

A standard class decorator that records metadata and leaves the class as it is. Returning nothing means the class is never replaced, which is what keeps a decorated class identical to its undecorated self at runtime.

Definition

(
value: unknown,
context: ClassDecoratorContext
) => void

Usage

import { type SetuClassDecorator } from "decorator-plugin/src/index.ts";