MCPcopy Create free account
hub / github.com/dipscope/TypeManager.TS / hasInjector

Method hasInjector

src/type-metadata.ts:1362–1368  ·  view source on GitHub ↗

* Configures injector. * * @param {Optional } injector Injector. * * @returns {this} Current instance of type metadata.

(injector: Optional<Injector>)

Source from the content-addressed store, hash-verified

1360 * @returns {this} Current instance of type metadata.
1361 */
1362 public hasInjector(injector: Optional<Injector>): this
1363 {
1364 this.typeOptions.injector = injector;
1365 this.currentTypeState = new UnresolvedTypeState<TObject>(this);
1366
1367 return this;
1368 }
1369
1370 /**
1371 * Configures logger.

Callers 1

configureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected