nuxt-modules / color-mode

Dark and Light mode with auto detection made easy with Nuxt 🌗
https://color-mode.nuxtjs.org
MIT License
1.12k stars 112 forks source link

bug(types): `ColorScheme` component #168

Closed Lexpeartha closed 7 months ago

Lexpeartha commented 2 years ago

Version

@nuxtjs/color-mode: v3.1.8 nuxt: v3.0.0-rc.11

Reproduction Link

Not sure how to actually reproduce

image

Replacing this with just ClientOnly doesn't throw any type error

Lexpeartha commented 2 years ago

It might help migrating the component to TS type inferring for props and script setup syntax? I'm using a take-over mode in this project, if that changes anything

atinux commented 1 year ago

I would love some help yes @Lexpeartha

danielroe commented 7 months ago

Do you still experience this? This is not reproducible for me.

CleanShot 2024-04-25 at 23 59 02@2x

Let me know if so and I'll happily reopen.