plugin-tls
Version:
plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制
72 lines (33 loc) • 1.07 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [tierOptionsDecorator](./plugin-tls.tieroptionsdecorator.md)
## tierOptionsDecorator() function
层级选项主机装饰器
**Signature:**
```typescript
export declare function tierOptionsDecorator<This, Value>(value: ClassAccessorDecoratorTarget<This, Value>, context: ClassAccessorDecoratorContext<This, Value>): ClassAccessorDecoratorResult<This, Value>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
value
</td><td>
ClassAccessorDecoratorTarget<This, Value>
</td><td>
</td></tr>
<tr><td>
context
</td><td>
ClassAccessorDecoratorContext<This, Value>
</td><td>
</td></tr>
</tbody></table>
**Returns:**
ClassAccessorDecoratorResult<This, Value>
## Remarks
可让宿主具备层级选项; 需要宿主有静态的同名属性;