diff --git a/src/Storage.ts b/src/Storage.ts index 433b1ea..59162b1 100644 --- a/src/Storage.ts +++ b/src/Storage.ts @@ -74,11 +74,9 @@ export class Storage { } /** - * Returns the name of the nᵗʰ key in the Storage object. + * Returns the name of the nth key in the Storage object. * - * __Implementation notes:__ * - The order of keys is varies by user-agent and should be not relied upon. - * - The handling of non-numeric keys is indeterminate. */ key(index: any) { if (arguments.length === 0) { @@ -177,7 +175,7 @@ export const storageProxyHandler: ProxyHandler = { }, }; -export type ProxiedStorage = Storage & Record; +export type ProxiedStorage = Storage & Record; export const createStorage = () => { return new Proxy(new Storage(), storageProxyHandler) as ProxiedStorage; // eslint-disable-line no-undef