From f3f047b6f146631a4033a3e4cbcaa72a1b9271d2 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Tue, 22 Feb 2022 09:53:33 +0100 Subject: [PATCH] Make types compatible with TS <= 3.6 Closes https://github.com/marijnh/orderedmap/issues/10 --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 551e742..fdc372c 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -21,7 +21,7 @@ declare class OrderedMap { subtract(map: MapLike): OrderedMap - get size(): number + readonly size: number static from(map: MapLike): OrderedMap }