- attribute(name, defaultValue?): ((target: any, propertyKey: string) => void)
Parameters
- name: string
Optional
defaultValue: any
Returns ((target: any, propertyKey: string) => void)
- (target, propertyKey): void
Parameters
- target: any
- propertyKey: string
Returns void
Decorator that creates setter/getter for PKCS#11 object attributes