Skip to content

Commit

Permalink
feat(store): biome comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ditoglez committed Jun 21, 2024
1 parent 20c5dd6 commit b519477
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/idos-store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class Store {
};
}

// biome-ignore lint/suspicious/noExplicitAny: We are fine with `any` here.
get(key: string): any {
const value = this.#getLocalStorage(key);
if (!value) return undefined;
Expand Down Expand Up @@ -71,6 +72,7 @@ export class Store {
return expires < Date.now();
}

// biome-ignore lint/suspicious/noExplicitAny: We are fine with `any` here.
set(key: string, value: any) {
if (!key || typeof key !== "string") throw new Error(`Bad key: ${key}`);
if (!value) return;
Expand Down

0 comments on commit b519477

Please sign in to comment.