Skip to content

Commit dfdcb5c

Browse files
committed
fixing type issues
1 parent 3bc6d22 commit dfdcb5c

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/Snackbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default {
114114
}
115115
},
116116
timeoutCounter() {
117-
this.polling = globalThis.setInterval(() => {
117+
this.polling = window.setInterval(() => {
118118
if (this.pause) {
119119
this.timeout += 1;
120120
}
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
declare global {
2-
interface globalThis {
3-
grecaptcha: {
4-
getResponse(): string;
5-
reset(string?): void; //if widget id is not provided, will default to first recaptcha instance
6-
render(string): string;
7-
};
8-
recaptchaSuccessCallback: function;
9-
recaptchaExpiredCallback: function;
10-
recaptchaOnloadCallback: function;
11-
}
2+
var grecaptcha: {
3+
getResponse(): string;
4+
reset(widgetId?: string): void;
5+
render(container: string): string;
6+
};
7+
8+
var recaptchaSuccessCallback: function;
9+
var recaptchaExpiredCallback: function;
10+
var recaptchaOnloadCallback: function;
1211
}
1312

1413
export {};

0 commit comments

Comments
 (0)