UNPKG

plugin-tls

Version:

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

41 lines (20 loc) 709 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [IPluginHost](./plugin-tls.ipluginhost.md) ## IPluginHost interface 插件宿主的接口 **Signature:** ```typescript export interface IPluginHost<HostClassType extends IPluginHostConstructor<any, Plugin>, 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.ipluginhost.use.md) </td><td> 实例的注册插件的方法 </td></tr> </tbody></table>