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.
64 lines (30 loc) • 854 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [DebugProtectedView](./rc-js-util.debugprotectedview.md) > [(constructor)](./rc-js-util.debugprotectedview._constructor_.md)
## DebugProtectedView.(constructor)
Constructs a new instance of the `DebugProtectedView` class
**Signature:**
```typescript
constructor(debugInfo: string, safeKeys?: TKeysOf<TView>);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
debugInfo
</td><td>
string
</td><td>
</td></tr>
<tr><td>
safeKeys
</td><td>
[TKeysOf](./rc-js-util.tkeysof.md)<!-- --><TView>
</td><td>
_(Optional)_
</td></tr>
</tbody></table>