Home > rc-js-util > IDebugProtectedView > createProtectedView
Create a proxy to the view, if invalidate called then access of non safeKeys will cause a debug error.
Signature:
createProtectedView<T extends object>(view: T): T;
| Parameter | Type | Description |
|---|---|---|
| view | T |
Returns:
T