Skip to content

Commit d20c409

Browse files
committed
Bugfix: broken alias resolvers
1 parent 33e7e67 commit d20c409

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [8.1.2] - 2025-06-02
9+
10+
### Fixed
11+
12+
- Broken alias resolvers for cleared type metadata.
13+
814
## [8.1.1] - 2025-06-02
915

1016
### Fixed

src/type-manager.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -884,9 +884,8 @@ export class TypeManager
884884
public clear(): this
885885
{
886886
const symbol = this.symbol;
887-
const typeFnMap = this.typeFnMap;
888887
const typeMetadataSet = this.typeMetadataSet;
889-
888+
890889
for (const typeMetadata of typeMetadataSet)
891890
{
892891
const prototype = typeMetadata.typeFn.prototype ?? {};
@@ -895,7 +894,6 @@ export class TypeManager
895894
}
896895

897896
typeMetadataSet.clear();
898-
typeFnMap.clear();
899897

900898
return this;
901899
}

0 commit comments

Comments
 (0)