- Preparing search index...
- The search index is not available
biorate
- test(name, ...decorator): MethodDecorator
-
Parameters
-
name: string
-
Rest
...decorator: MethodDecorator[]
Rest
Returns MethodDecorator
- test(...decorator): MethodDecorator
-
Parameters
-
Rest
...decorator: MethodDecorator[]
Rest
Returns MethodDecorator
- test<T>(target, propertyKey, descriptor): void | TypedPropertyDescriptor<T>
-
Parameters
-
target: Object
-
propertyKey: string | symbol
-
descriptor: TypedPropertyDescriptor<T>
Returns void | TypedPropertyDescriptor<T>
Callable with optional name, followed by decorators. Allows:
To condensed on a single line:
Please note the pit fall in the first case - the
@test
must be the first decorator.