diff options
Diffstat (limited to 'packages/idb-bridge/src/util/valueToKey.ts')
-rw-r--r-- | packages/idb-bridge/src/util/valueToKey.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/idb-bridge/src/util/valueToKey.ts b/packages/idb-bridge/src/util/valueToKey.ts index 6df82af81..0cd824689 100644 --- a/packages/idb-bridge/src/util/valueToKey.ts +++ b/packages/idb-bridge/src/util/valueToKey.ts @@ -17,7 +17,11 @@ import { IDBValidKey } from "../idbtypes.js"; import { DataError } from "./errors.js"; -// https://www.w3.org/TR/IndexedDB-2/#convert-a-value-to-a-key +/** + * Algorithm to "convert a value to a key". + * + * https://www.w3.org/TR/IndexedDB/#convert-value-to-key + */ export function valueToKey( input: any, seen?: Set<object>, |