From 3dd1047b085fa7795f322c5829f39208465bff13 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 29 Mar 2022 09:58:06 -0300 Subject: added react eslint and fix most of the warns --- packages/taler-wallet-webextension/src/platform/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-webextension/src/platform/api.ts') diff --git a/packages/taler-wallet-webextension/src/platform/api.ts b/packages/taler-wallet-webextension/src/platform/api.ts index 112f9721c..65bc36545 100644 --- a/packages/taler-wallet-webextension/src/platform/api.ts +++ b/packages/taler-wallet-webextension/src/platform/api.ts @@ -14,7 +14,7 @@ TALER; see the file COPYING. If not, see */ -import { CoreApiResponse, NotificationType, TalerUriType } from "@gnu-taler/taler-util"; +import { CoreApiResponse, NotificationType } from "@gnu-taler/taler-util"; export interface Permissions { /** @@ -186,6 +186,6 @@ export interface PlatformAPI { } export let platform: PlatformAPI = undefined as any; -export function setupPlatform(impl: PlatformAPI) { +export function setupPlatform(impl: PlatformAPI): void { platform = impl; } -- cgit v1.2.3