diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue index 746290c4..93ec38e2 100644 --- a/docs/.vitepress/theme/Layout.vue +++ b/docs/.vitepress/theme/Layout.vue @@ -23,6 +23,7 @@ provide("toggle-appearance", async ({ clientX: x, clientY: y }: MouseEvent) => { )}px at ${x}px ${y}px)`, ] + // @ts-expect-error TS2339 await document.startViewTransition(async () => { isDark.value = !isDark.value await nextTick()