import{_ as e,c as t,o as a,a as r}from"./app.ab34650d.js";const u=JSON.parse('{"title":"Module: util/proxies","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Type Aliases","slug":"type-aliases"},{"level":3,"title":"ProxiedWithState","slug":"proxiedwithstate"},{"level":2,"title":"Variables","slug":"variables"},{"level":3,"title":"ProxyPath","slug":"proxypath"},{"level":3,"title":"ProxyState","slug":"proxystate"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"createLazyProxy","slug":"createlazyproxy"}],"relativePath":"api/modules/util/proxies.md","lastUpdated":null}'),d={name:"api/modules/util/proxies.md"},o=r('
\u01AC 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
Name |
---|
T |
profectus/src/util/proxies.ts:7
\u2022 Const
ProxyPath: typeof ProxyPath
profectus/src/util/proxies.ts:4
\u2022 Const
ProxyState: typeof ProxyState
profectus/src/util/proxies.ts:3
\u25B8 createLazyProxy<T
, S
>(objectFunc
, baseObject?
): T
Name | Type |
---|---|
T | extends object |
S | S |
Name | Type |
---|---|
objectFunc | (baseObject : S ) => T & S |
baseObject | S |
T