* Releases alias. * * @returns {this} Current instance of type metadata.
()
| 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. |