Documents injecute 1.x · Migrating from 0.x
Skip to content

Interface: ProxyAccessorOptions<Keys> ​

Defined in: src/utils/proxy.ts:16

Options for createProxyAccessor.

Type Parameters ​

Keys ​

Keys

Properties ​

keys? ​

optional keys?: Keys

Defined in: src/utils/proxy.ts:18

Services to expose, as keys or [key, exposedName] pairs. Default: every service.


optional? ​

optional optional?: boolean

Defined in: src/utils/proxy.ts:20

Return undefined for unknown properties instead of throwing. Default: true.

Released under the MIT License.