- struct(options?): (<const T>(target: T, context: ClassDecoratorContext<(new (...args: any) => any)> & DecoratorContext<Metadata>) => T)
Returns (<const T>(target: T, context: ClassDecoratorContext<(new (...args: any) => any)> & DecoratorContext<Metadata>) => T)
- <const T>(target, context): T
Returns T
Decorates a class as a struct