Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Andr3wid committed Mar 26, 2024
1 parent a53a309 commit 6673672
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ts/storageutils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UIConfig } from "./uiconfig";
import { UIConfig } from './uiconfig';

export namespace StorageUtils {
let res: (uiConfig: UIConfig) => void;
Expand All @@ -16,11 +16,11 @@ export namespace StorageUtils {
try {
return (
window.localStorage &&
typeof localStorage.getItem === "function" &&
typeof localStorage.setItem === "function"
typeof localStorage.getItem === 'function' &&
typeof localStorage.setItem === 'function'
);
} catch (e) {
console.debug("Error while checking localStorage availablility", e);
console.debug('Error while checking localStorage availablility', e);
return false;
}
}
Expand Down

0 comments on commit 6673672

Please sign in to comment.