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

Method applyTypeOptions

src/type-manager.ts:616–619  ·  view source on GitHub ↗

* Applies type options in static context. * * @param {TypeFn } typeFn Type function. * @param {TypeOptions } typeOptions Type options. * * @returns {TypeManager} Static instance of type manager.

(typeFn: TypeFn<TObject>, typeOptions: TypeOptions<TObject>)

Source from the content-addressed store, hash-verified

614 * @returns {TypeManager} Static instance of type manager.
615 */
616 public static applyTypeOptions<TObject>(typeFn: TypeFn<TObject>, typeOptions: TypeOptions<TObject>): TypeManager
617 {
618 return this.staticTypeManager.applyTypeOptions(typeFn, typeOptions);
619 }
620
621 /**
622 * Applies type options.

Callers 2

applyTypeOptionsMapMethod · 0.95

Calls 2

extractTypeMetadataMethod · 0.95
configureMethod · 0.65

Tested by

no test coverage detected