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

Method applyTypeConfiguration

src/type-manager.ts:675–678  ·  view source on GitHub ↗

* Applies type configuration in static context. * * @param {TypeFn } typeFn Type function. * @param {TypeConfiguration } typeConfiguration Type configuration. * * @returns {TypeManager} Static instance of type manager.

(typeFn: TypeFn<TObject>, typeConfiguration: TypeConfiguration<TObject>)

Source from the content-addressed store, hash-verified

673 * @returns {TypeManager} Static instance of type manager.
674 */
675 public static applyTypeConfiguration<TObject>(typeFn: TypeFn<TObject>, typeConfiguration: TypeConfiguration<TObject>): TypeManager
676 {
677 return this.staticTypeManager.applyTypeConfiguration(typeFn, typeConfiguration);
678 }
679
680 /**
681 * Applies type configuration.

Calls 2

extractTypeMetadataMethod · 0.95
configureMethod · 0.65

Tested by

no test coverage detected