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

Type Alias: ProxyAccessor<S, Keys> ​

ProxyAccessor<S, Keys> = { readonly [I in keyof Keys as I extends `${number}` ? ExposedName<Keys[I], S> : never]: ServiceType<S, SpecKey<Keys[I], S>> }

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

The object createProxyAccessor returns when keys is given.

Type Parameters ​

S ​

S

Keys ​

Keys extends readonly unknown[]

Released under the MIT License.