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

Method releaseAlias

src/type-metadata.ts:1099–1109  ·  view source on GitHub ↗

* Releases alias. * * @returns {this} Current instance of type metadata.

()

Source from the content-addressed store, hash-verified

1097 * @returns {this} Current instance of type metadata.
1098 */
1099 private releaseAlias(): this
1100 {
1101 const alias = this.typeOptions.alias;
1102
1103 if (alias !== undefined && this.currentTypeFnMap.has(alias))
1104 {
1105 this.currentTypeFnMap.delete(alias);
1106 }
1107
1108 return this;
1109 }
1110
1111 /**
1112 * Configures custom value map.

Callers 1

hasAliasMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected