CreateNodeDiOptions · Node.js API
type CreateNodeDiOptions = object;Options for createNodeDi.
Properties
Section titled “Properties”providers?
Section titled “providers?”readonly optional providers?: readonly Provider[];Providers registered once in the root container.
requestProviders?
Section titled “requestProviders?”readonly optional requestProviders?: () => readonly Provider[];Providers registered in each async request-scoped child container.
Returns
Section titled “Returns”readonly Provider[]