From 017ec139811d2bb6581e648d70b7f452491e5ad2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 1 Jun 2022 16:05:58 +0100 Subject: [PATCH] Disable typescript warnings --- src/auth/useInteractiveLogin.ts | 2 +- src/auth/useInteractiveRegistration.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auth/useInteractiveLogin.ts b/src/auth/useInteractiveLogin.ts index cf23038..6379c67 100644 --- a/src/auth/useInteractiveLogin.ts +++ b/src/auth/useInteractiveLogin.ts @@ -47,7 +47,7 @@ export const useInteractiveLogin = () => // XXX: This claims to return an IAuthData which contains none of these // things - the js-sdk types may be wrong? - /* eslint-disable camelcase */ + /* eslint-disable camelcase,@typescript-eslint/no-explicit-any */ const { user_id, access_token, device_id } = (await interactiveAuth.attemptAuth()) as any; const session = { diff --git a/src/auth/useInteractiveRegistration.ts b/src/auth/useInteractiveRegistration.ts index 320055b..af611f9 100644 --- a/src/auth/useInteractiveRegistration.ts +++ b/src/auth/useInteractiveRegistration.ts @@ -86,7 +86,7 @@ export const useInteractiveRegistration = (): [ // XXX: This claims to return an IAuthData which contains none of these // things - the js-sdk types may be wrong? - /* eslint-disable camelcase */ + /* eslint-disable camelcase,@typescript-eslint/no-explicit-any */ const { user_id, access_token, device_id } = (await interactiveAuth.attemptAuth()) as any;