From 0e1afae293eab5986f8efe0e6528635abda9c850 Mon Sep 17 00:00:00 2001 From: Gerrit Birkeland Date: Fri, 18 Oct 2024 09:23:43 -0600 Subject: [PATCH] Remove `implements Map` from stable key map Resolves #2747 --- CHANGELOG.md | 4 ++++ src/lib/utils/map.ts | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77c999d6f..7cb86674c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/lib/utils/map.ts b/src/lib/utils/map.ts index bc7a8b1de..a893cdceb 100644 --- a/src/lib/utils/map.ts +++ b/src/lib/utils/map.ts @@ -19,9 +19,7 @@ export class DefaultMap extends Map { } } -export class StableKeyMap - implements Map -{ +export class StableKeyMap { [Symbol.toStringTag] = "StableKeyMap"; private impl = new Map();