From 07ad253f52720c3e1e8f1d8b51e351c87aa311d9 Mon Sep 17 00:00:00 2001 From: Kasun Vithanage Date: Wed, 2 Nov 2022 14:09:50 +0530 Subject: [PATCH] fix: ts issue --- src/components/GoogleSignInButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GoogleSignInButton.vue b/src/components/GoogleSignInButton.vue index 0b2efe9..471aec5 100644 --- a/src/components/GoogleSignInButton.vue +++ b/src/components/GoogleSignInButton.vue @@ -270,7 +270,7 @@ watchEffect(() => { }); // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - window.google?.accounts.id.renderButton(targetElement.value!, { + window.google?.accounts.id.renderButton(targetElement.value! as HTMLElement, { type: props.type, theme: props.theme, size: props.size,