Skip to content

Commit

Permalink
Remove implements Map from stable key map
Browse files Browse the repository at this point in the history
Resolves #2747
  • Loading branch information
Gerrit0 committed Oct 18, 2024
1 parent 2c73a28 commit 0e1afae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Unreleased

### Bug Fixes

- Fix type errors when using `"module": "ESNext"` and importing TypeDoc, #2747.

## v0.26.10 (2024-10-16)

### Bug Fixes
Expand Down
4 changes: 1 addition & 3 deletions src/lib/utils/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export class DefaultMap<K, V> extends Map<K, V> {
}
}

export class StableKeyMap<K extends { getStableKey(): string }, V>
implements Map<K, V>
{
export class StableKeyMap<K extends { getStableKey(): string }, V> {
[Symbol.toStringTag] = "StableKeyMap";
private impl = new Map<string, [K, V]>();

Expand Down

0 comments on commit 0e1afae

Please sign in to comment.