Home Manual Reference Source Test

Function

Static Public Summary
public

readonly(target: Object, property: string, descriptor: ElementDescriptor): ElementDescriptor

Readonly decorator

Static Public

public readonly(target: Object, property: string, descriptor: ElementDescriptor): ElementDescriptor source

import readonly from '@ubricks/decorator-readonly'

Readonly decorator

Params:

NameTypeAttributeDescription
target Object
property string
descriptor ElementDescriptor

Return:

ElementDescriptor

Test: