Migrate to eslint
This commit is contained in:
parent
0fe7e30398
commit
b4e9c278d3
27 changed files with 104 additions and 71 deletions
|
@ -1,7 +1,10 @@
|
|||
export function put(key: string, value: any) {
|
||||
// Matching window.storage.put API
|
||||
// eslint-disable-next-line max-len
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
||||
export function put(key: string, value: any): void {
|
||||
window.storage.put(key, value);
|
||||
}
|
||||
|
||||
export async function remove(key: string) {
|
||||
export async function remove(key: string): Promise<void> {
|
||||
await window.storage.remove(key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue