Knowtation web client
    Preparing search index...

    Variable safeStorageConst

    safeStorage: {
        get(key: string): string | null;
        set(key: string, value: string): void;
    } = ...

    localStorage that never throws: in private mode or with blocked storage it just forgets.

    Type Declaration

    • get: function
      • Parameters

        • key: string

        Returns string | null

    • set: function
      • Parameters

        • key: string
        • value: string

        Returns void