Skip to content

Commit

Permalink
chore: use Primitive type from type-fest (#820)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EvanHahn authored Sep 19, 2024
1 parent 71f571b commit 82f8dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/hashmap.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 82f8dcf

Please sign in to comment.