Module: util/proxies
Type aliases
ProxiedWithState
Ƭ ProxiedWithState<T
>: NonNullable
<T
> extends Record
<PropertyKey
, any
> ? NonNullable
<T
> extends Decimal
? T
: { [K
in keyof T
]: ProxiedWithState
<T
[K
]> } & { [ProxyPath]
: string
[] ; [ProxyState]
: T
} : T
Type parameters
Name |
---|
T |
Defined in
profectus/src/util/proxies.ts:7
Variables
ProxyPath
• Const
ProxyPath: typeof ProxyPath
Defined in
profectus/src/util/proxies.ts:4
ProxyState
• Const
ProxyState: typeof ProxyState
Defined in
profectus/src/util/proxies.ts:3
Functions
createLazyProxy
▸ createLazyProxy<T
, S
>(objectFunc
, baseObject?
): T
Type parameters
Name | Type |
---|---|
T | extends object |
S | S |
Parameters
Name | Type |
---|---|
objectFunc | (baseObject : S ) => T & S |
baseObject | S |
Returns
T