UNPKG

plugin-tls

Version:

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

68 lines (31 loc) 832 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [getTargetProperties](./plugin-tls.gettargetproperties.md) ## getTargetProperties() function 按照 props 的结构,获取 target 的 属性对象 - props 中所有 纯对象 都会被作为 props 进行递归地获取 **Signature:** ```typescript export declare function getTargetProperties<Props>(target: any, props: Props): Props; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> target </td><td> any </td><td> </td></tr> <tr><td> props </td><td> Props </td><td> </td></tr> </tbody></table> **Returns:** Props