Module: util/proxies
Type Aliases
Proxied
Ƭ Proxied<T
>: NonNullable
<T
> extends Record
<PropertyKey
, unknown
> ? NonNullable
<T
> extends Persistent
<infer S> ? NonPersistent
<S
> : NonNullable
<T
> extends default
? T
: { [K in keyof T]: Proxied<T[K]> } & { [ProxyState]
: T
} : T
Type parameters
Name |
---|
T |
Defined in
profectus/src/util/proxies.ts:19
ProxiedWithState
Ƭ ProxiedWithState<T
>: NonNullable
<T
> extends Record
<PropertyKey
, unknown
> ? NonNullable
<T
> extends default
? T
: { [K in keyof T]: ProxiedWithState<T[K]> } & { [ProxyPath]
: string
[] ; [ProxyState]
: T
} : T
Type parameters
Name |
---|
T |
Defined in
profectus/src/util/proxies.ts:8
Variables
ProxyPath
• Const
ProxyPath: typeof ProxyPath
Defined in
profectus/src/util/proxies.ts:6
ProxyState
• Const
ProxyState: typeof ProxyState
Defined in
profectus/src/util/proxies.ts:5
Functions
createLazyProxy
▸ createLazyProxy<T
, S
>(objectFunc
, baseObject?
): T
Name | Type |
---|---|
objectFunc | (this : S , baseObject : S ) => T & S |
baseObject | S |