From 82f8dcf276d43fb4bed05c6e94646723a2c45113 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Thu, 19 Sep 2024 11:47:37 -0500 Subject: [PATCH] chore: use `Primitive` type from type-fest (#820) This types-only change removes a custom `Primitive` type in favor of type-fest's. We defined them the same way so it shouldn't make a difference. --- src/lib/hashmap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/hashmap.js b/src/lib/hashmap.js index 99c95099..67e10290 100644 --- a/src/lib/hashmap.js +++ b/src/lib/hashmap.js @@ -1,4 +1,4 @@ -/** @typedef {string | number | bigint | boolean | undefined | symbol | null} Primitive */ +/** @import { Primitive } from 'type-fest' */ /** * `Map` uses same-value-zero equality for keys, which makes it more difficult