- span(props?): ((target, propertyKey, descriptor) => void)
Parameters
Optional props: {
name?: string;
spanKind?: string;
}Optional name?: string
Optional spanKind?: string
Returns ((target, propertyKey, descriptor) => void)
- (target, propertyKey, descriptor): void
Parameters
- target: any
- propertyKey: string
- descriptor: PropertyDescriptor
Returns void