fix: fix all biome
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import { Injectable } from 'injection-js';
|
||||
import { AbstractSecurityStorage } from './abstract-security-storage';
|
||||
import type { AbstractSecurityStorage } from './abstract-security-storage';
|
||||
|
||||
@Injectable()
|
||||
export class DefaultSessionStorageService implements AbstractSecurityStorage {
|
||||
public read(key: string): string | null {
|
||||
read(key: string): string | null {
|
||||
return sessionStorage.getItem(key);
|
||||
}
|
||||
|
||||
public write(key: string, value: string): void {
|
||||
write(key: string, value: string): void {
|
||||
sessionStorage.setItem(key, value);
|
||||
}
|
||||
|
||||
public remove(key: string): void {
|
||||
remove(key: string): void {
|
||||
sessionStorage.removeItem(key);
|
||||
}
|
||||
|
||||
public clear(): void {
|
||||
clear(): void {
|
||||
sessionStorage.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user