rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
52 lines (25 loc) • 840 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [IManagedResourceLinks](./rc-js-util.imanagedresourcelinks.md) > [link](./rc-js-util.imanagedresourcelinks.link.md)
## IManagedResourceLinks.link() method
Link this node to `ref`<!-- -->, i.e. this node owns `ref`<!-- -->.
**Signature:**
```typescript
link(ref: IManagedResourceNode): IManagedResourceLinks;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
ref
</td><td>
[IManagedResourceNode](./rc-js-util.imanagedresourcenode.md)
</td><td>
</td></tr>
</tbody></table>
**Returns:**
[IManagedResourceLinks](./rc-js-util.imanagedresourcelinks.md)