DI Bag API / index / ModuleExportedServices
Type Alias: ModuleExportedServices<M>
ts
type ModuleExportedServices<M> = M extends Module<infer P, infer _R, infer _C, infer _D> ? Readonly<P> : never;Defined in: module-types.ts:234
Extract a readonly map of services publicly exposed by a module.
Type Parameters
| Type Parameter | Description |
|---|---|
M | - |
See
https://dany-fedorov.github.io/di-bag/guides/api-reference.html#provider-and-module-projections