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

Interface: CheckWiringOptions<K> ​

Defined in: src/utils/check-wiring.ts:12

Options of checkWiring.

Type Parameters ​

K ​

K

Properties ​

keys? ​

optional keys?: readonly K[]

Defined in: src/utils/check-wiring.ts:17

Keys that must be registered, besides every dependency key: for example every key of the Services a module declares for services it registers from files or decorators.


resolve? ​

optional resolve?: boolean

Defined in: src/utils/check-wiring.ts:22

Also resolve every service, so factories that throw are found too. Runs the factories: use an isolated fork with fakes for services that reach the outside world. Default: false.

Released under the MIT License.