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

Method isInjectable

src/type-metadata.ts:1347–1353  ·  view source on GitHub ↗

* Configures injectable. * * @param {boolean} injectable Injectable. * * @returns {this} Current instance of type metadata.

(injectable: boolean = true)

Source from the content-addressed store, hash-verified

1345 * @returns {this} Current instance of type metadata.
1346 */
1347 public isInjectable(injectable: boolean = true): this
1348 {
1349 this.typeOptions.injectable = injectable;
1350 this.currentTypeState = new UnresolvedTypeState<TObject>(this);
1351
1352 return this;
1353 }
1354
1355 /**
1356 * Configures injector.

Callers 1

configureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected