Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 73f1b9e

Browse files
committed
fix: tsc type
1 parent cceac7d commit 73f1b9e

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/components/SyncStatus.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ async function setStatus(status: string) {
8282
}
8383
}
8484
85-
if (!(<any>window).cssc) {
86-
(<any>window).cssc = {};
85+
if (!(window as any).cssc) {
86+
(window as any).cssc = {};
8787
}
88-
if (!(<any>window).cssc.updateSyncing) {
89-
(<any>window).cssc.updateSyncing = {};
88+
if (!(window as any).cssc.updateSyncing) {
89+
(window as any).cssc.updateSyncing = {};
9090
}
91-
(<any>window).cssc.updateSyncing[props.link] = setStatus;
92-
if ((<any>window).cssc.syncing === props.link) {
91+
(window as any).cssc.updateSyncing[props.link] = setStatus;
92+
if ((window as any).cssc.syncing === props.link) {
9393
setStatus('syncing');
9494
}
9595
</script>

src/components/SyncToggle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ document.addEventListener('keyup', () => {
8080
}, 0);
8181
});
8282
83-
(<any>window).cssc = {
83+
(window as any).cssc = {
8484
checkAvailable,
8585
};
8686
</script>

0 commit comments

Comments
 (0)