Migrate to eslint

This commit is contained in:
Chris Svenningsen 2020-09-16 12:31:05 -07:00 committed by Josh Perez
parent 0fe7e30398
commit b4e9c278d3
27 changed files with 104 additions and 71 deletions

View file

@ -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);
}