diff options
author | Sebastian <sebasjm@gmail.com> | 2022-03-29 09:58:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-03-29 10:04:33 -0300 |
commit | 3dd1047b085fa7795f322c5829f39208465bff13 (patch) | |
tree | 19340ca9420466e7059849dbf7013901733c0fde /packages/taler-wallet-webextension/src/platform/api.ts | |
parent | cb18b9813e5df6e315dfb1827f5f7cf304977390 (diff) |
added react eslint and fix most of the warns
Diffstat (limited to 'packages/taler-wallet-webextension/src/platform/api.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/platform/api.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/> */ -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; } |