* Constructor. * * Creating an instance of type manager allows to have multiple configs. By default only static * instance of type manager is created on the background and all decorator based and declarative based * configurations are applied to it. Note that all options which
(typeManagerOptions: TypeManagerOptions = {})
| 163 | * @param {TypeManagerOptions} typeManagerOptions Type manager options. |
| 164 | */ |
| 165 | public constructor(typeManagerOptions: TypeManagerOptions = {}) |
| 166 | { |
| 167 | this.symbol = Symbol(TYPE_METADATA_SYMBOL.description); |
| 168 | this.typeManagerOptions = this.constructTypeManagerOptions(typeManagerOptions); |
| 169 | this.typeFnMap = new Map<Alias, TypeFn<any>>(); |
| 170 | this.typeMetadataSet = new Set<TypeMetadata<any>>(); |
| 171 | |
| 172 | this.register(); |
| 173 | this.configure(typeManagerOptions); |
| 174 | |
| 175 | return; |
| 176 | } |
| 177 | |
| 178 | /** |
| 179 | * Gets symbol in static context. |
nothing calls this directly
no test coverage detected