method
@opcat-labs/scrypt-ts-opcat v1.0.4
@opcat-labs/scrypt-ts-opcat / method
Function: method()
method(
options): (target,methodName,descriptor) =>PropertyDescriptor
Defined in: packages/scrypt-ts-opcat/src/smart-contract/decorators.ts:34
Indicates whether the method is a contract method, and ordinary methods do not affect the execution of the contract.
Parameters
options
MethodDecoratorOptions = ...
Returns
Function
Parameters
target
any
methodName
string
descriptor
PropertyDescriptor
Returns
PropertyDescriptor