📄 reactifyObject¶
📊 Analysis Summary¶
| Metric | Count |
|---|---|
| 🔧 Functions | 1 |
| 📦 Imports | 4 |
| 📐 Interfaces | 1 |
| 📑 Type Aliases | 2 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 packages/shared/reactifyObject/index.ts
📦 Imports¶
| Name | Source |
|---|---|
Reactified |
../reactify |
ReactifyOptions |
../reactify |
AnyFn |
../utils |
reactify |
../reactify |
Functions¶
reactifyObject(obj: T, keys: (keyof T)[]): ReactifyObjectReturn<T, Keys, true>¶
Apply reactify to an object
Tags: @__NO_SIDE_EFFECTS__
Code
Interfaces¶
ReactifyObjectOptions<T extends boolean>¶
Interface Code
Properties¶
| Name | Type | Optional | Description |
|---|---|---|---|
includeOwnProperties |
boolean |
✓ | not shown |
Type Aliases¶
ReactifyNested<T, Keys extends keyof T = keyof T, S extends boolean = true>¶
type ReactifyNested<T, Keys extends keyof T = keyof T, S extends boolean = true> = { [K in Keys]: T[K] extends AnyFn ? Reactified<T[K], S> : T[K] };
ReactifyObjectReturn<T, Keys extends keyof T, S extends boolean = true>¶
type ReactifyObjectReturn<T, Keys extends keyof T, S extends boolean = true> = ReactifyNested<T, Keys, S>;
Generated by Syntax Scribe