Skip to content
On this page

Module: util/proxies

Type Aliases

ProxiedWithState

Ƭ ProxiedWithState<T>: NonNullable<T> extends Record<PropertyKey, any> ? 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: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

NameType
Textends object
SS

Parameters

NameType
objectFunc(baseObject: S) => T & S
baseObjectS

Returns

T