Disable typescript warnings

This commit is contained in:
David Baker 2022-06-01 16:05:58 +01:00
parent 5282ab5f12
commit 017ec13981
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ export const useInteractiveLogin = () =>
// XXX: This claims to return an IAuthData which contains none of these // XXX: This claims to return an IAuthData which contains none of these
// things - the js-sdk types may be wrong? // 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 } = const { user_id, access_token, device_id } =
(await interactiveAuth.attemptAuth()) as any; (await interactiveAuth.attemptAuth()) as any;
const session = { const session = {

View file

@ -86,7 +86,7 @@ export const useInteractiveRegistration = (): [
// XXX: This claims to return an IAuthData which contains none of these // XXX: This claims to return an IAuthData which contains none of these
// things - the js-sdk types may be wrong? // 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 } = const { user_id, access_token, device_id } =
(await interactiveAuth.attemptAuth()) as any; (await interactiveAuth.attemptAuth()) as any;