plugin-tls
Version:
plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制
41 lines (20 loc) • 729 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPluginHostConstructor](./plugin-tls.ipluginhostconstructor.md)
## IPluginHostConstructor interface
插件宿主构造函数的接口
**Signature:**
```typescript
export interface IPluginHostConstructor<HostClassType, Plugin extends IPlugin<HostClassType, any> = IPlugin<HostClassType, any>>
```
## Methods
<table><thead><tr><th>
Method
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[use(plugin, options)](./plugin-tls.ipluginhostconstructor.use.md)
</td><td>
使用插件、注册插件
</td></tr>
</tbody></table>