mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 13:20:48 +00:00
Migrate to eslint
This commit is contained in:
committed by
Josh Perez
parent
0fe7e30398
commit
b4e9c278d3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user