UNPKG

plugin-tls

Version:

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

59 lines (30 loc) 1.16 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [createCallerOfPrivateMemberOfExtend](./plugin-tls.createcallerofprivatememberofextend.md) ## createCallerOfPrivateMemberOfExtend() function 创建扩展的私有方法的调用者 **Signature:** ```typescript export declare function createCallerOfPrivateMemberOfExtend<C extends ClassType>(cla: C): { constructed: (thisArg: any, args: any[]) => void; initialized: (thisArg: any, args: any[]) => void; destroyed: (thisArg: any, args: any[]) => void; }; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> cla </td><td> C </td><td> </td></tr> </tbody></table> **Returns:** { constructed: (thisArg: any, args: any\[\]) =&gt; void; initialized: (thisArg: any, args: any\[\]) =&gt; void; destroyed: (thisArg: any, args: any\[\]) =&gt; void; } constructed:执行所有 `_constructor` 的便利函数;initialized:执行所有 `_inits` 的便利函数