Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type is not assignable to type, and invalid prop... #174

Open
leosin opened this issue Feb 5, 2023 · 3 comments
Open

Type is not assignable to type, and invalid prop... #174

leosin opened this issue Feb 5, 2023 · 3 comments

Comments

@leosin
Copy link

leosin commented Feb 5, 2023


  • Operating System: Darwin
  • Node Version: v18.13.0
  • Nuxt Version: 3.1.2
  • Nitro Version: 2.1.1
  • Package Manager: pnpm@7.26.2
  • Builder: vite
  • User Config: alias, app, css, sourcemap, modules, content, googleAdsense, runtimeConfig, nitro, typescript, vite
  • Runtime Modules: @vueuse/nuxt@9.12.0, @unocss/nuxt@0.49.4, @nuxt/content@2.4.3, @nuxtjs/google-adsense@2.1.0
  • Build Modules: -

image
image

  googleAdsense: {
    // onPageLoad: false,
    // pageLevelAds: false,
  },

  runtimeConfig: {
    apiSecret: '',
    public: {
      apiBase: '',
    },
    googleAdsense: {
      id: process.env.GOOGLE_ADSENSE_ID,
      test: process.env.GOOGLE_ADSENSE_TEST_MODE === 'true',
    },
  },

Does anyone know how to solve this error message

@manniL
Copy link
Collaborator

manniL commented Feb 6, 2023

I suppose the Nuxt 3 component would need a rewrite in <script setup>. PR welcome.

@JenuelDev
Copy link

any update on this? I am also using typescript

@manniL
Copy link
Collaborator

manniL commented Mar 24, 2023

any update on this? I am also using typescript

PR welcome 👍🏻
Should not be too difficult so I'd like to leave that opportunity for contributors ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants