Skip to content

@half0wl/container / ServiceOptions

Interface: ServiceOptions ​

Defined in: decorators.ts:9

Options for the Service decorator.

Properties ​

trace? ​

ts
optional trace: boolean;

Defined in: decorators.ts:18

When true, all methods on this service are automatically wrapped with the container's trace function after construction.

Requires a trace function in the ContainerConfig.

Default Value ​

false