diff --git a/src/@types/LocalObjectStorage.d.ts b/src/@types/LocalObjectStorage.d.ts index 0f3e9e1f..cb37f240 100644 --- a/src/@types/LocalObjectStorage.d.ts +++ b/src/@types/LocalObjectStorage.d.ts @@ -29,7 +29,9 @@ declare class LocalObjectStorage { get length(): number; - getItem(key: string, fallback?: T): T; + getItem(key: string): T | string | null; + + getItem(key: string, fallback: T): T; setItem(key: string, value: T): void;