UNPKG

plugin-tls

Version:

plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制

72 lines (33 loc) 1.07 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [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&lt;This, Value&gt; </td><td> </td></tr> <tr><td> context </td><td> ClassAccessorDecoratorContext&lt;This, Value&gt; </td><td> </td></tr> </tbody></table> **Returns:** ClassAccessorDecoratorResult&lt;This, Value&gt; ## Remarks 可让宿主具备层级选项; 需要宿主有静态的同名属性;